Time limit is still exceeding

I have employed the sieve technique as i was told earlier for computing the prime numbers but Despite employing the sieve technique the time limit for test case 3 is still exceeding

can you post your code

Done. Saved on cb.lk/ide