Language: C



#include <stdio.h>
#include <math.h>
int main(){
    while(1){
        int n,i,cnt=0,sw=1,sosuu[100000],t;
        if(scanf("%d",&n)==EOF) break;
        if(n<=1){
            cnt=0;
        }else{
            sosuu[cnt]=2;
            cnt++;
            for(i=3;i<=n;i+=2){
                sw=1;
                for(t=0;t<cnt&&sosuu[t]*sosuu[t]<=i;t++){
                    if(i%sosuu[t]==0){
                        sw=0;
                        break;
                    }
                }
                if(sw==1){
                    sosuu[cnt]=i;
                    cnt++;
                }
            }
             
             
        }
        printf("%d\n",cnt);
         
    }
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:1: error: stray '\302' in program
    6 | <U+00A0><U+00A0><U+00A0><U+00A0>while(1){
      | ^~~~~~~~
main.c:6:2: error: stray '\302' in program
    6 | <U+00A0><U+00A0><U+00A0><U+00A0>while(1){
      |         ^~~~~~~~
main.c:6:3: error: stray '\302' in program
    6 | <U+00A0><U+00A0><U+00A0><U+00A0>while(1){
      |                 ^~~~~~~~
main.c:6:4: error: stray '\302' in program
    6 | <U+00A0><U+00A0><U+00A0><U+00A0>while(1){
      |                         ^~~~~~~~
main.c:7:1: error: stray '\302' in program
    7 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>int n,i,cnt=0,sw=1,sosuu[100000],t;
      | ^~~~~~~~
main.c:7:2: error: stray '\302' in program
    7 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>int n,i,cnt=0,sw=1,sosuu[100000],t;
      |         ^~~~~~~~
main.c:7:3: error: stray '\302' in program
    7 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>int n,i,cnt=0,sw=1,sosuu[100000],t;
      |                 ^~~~~~~~
main.c:7:4: error: stray '\302' in program
    7 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>int n,i,cnt=0,sw=1,sosuu[100000],t;
      |                         ^~~~~~~~
main.c:7:5: error: stray '\302' in program
    7 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>int n,i,cnt=0,sw=1,sosuu[100000],t;
      |                                 ^~~~~~~~
main.c:7:6: error: stray '\302' in program
    7 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>int n,i,cnt=0,sw=1,sosuu[100000],t;
      |                                         ^~~~~~~~
main.c:7:7: error: stray '\302' in program
    7 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>int n,i,cnt=0,sw=1,sosuu[100000],t;
      |                                                 ^~~~~~~~
main.c:7:8: error: stray '\302' in program
    7 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>int n,i,cnt=0,sw=1,sosuu[100000],t;
      |                                                         ^~~~~~~~
main.c:8:1: error: stray '\302' in program
    8 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if(scanf("%d",&n)==EOF) break;
      | ^~~~~~~~
main.c:8:2: error: stray '\302' in program
    8 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if(scanf("%d",&n)==EOF) break;
      |         ^~~~~~~~
main.c:8:3: error: stray '\302' in program
    8 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if(scanf("%d",&n)==EOF) break;
      |                 ^~~~~~~~
main.c:8:4: error: stray '\302' in program
    8 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if(scanf("%d",&n)==EOF) break;
      |                         ^~~~~~~~
main.c:8:5: error: stray '\302' in program
    8 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if(scanf("%d",&n)==EOF) break;
      |                                 ^~~~~~~~
main.c:8:6: error: stray '\302' in program
    8 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if(scanf("%d",&n)==EOF) break;
      |                                         ^~~~~~~~
main.c:8:7: error: stray '\302' in program
    8 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if(scanf("%d",&n)==EOF) break;
      |                                                 ^~~~~~~~
main.c:8:8: error: stray '\302' in program
    8 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if(scanf("%d",&n)==EOF) break;
      |                                                         ^~~~~~~~
main.c:9:1: error: stray '\302' in program
    9 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if(n<=1){
      | ^~~~~~~~
main.c:9:2: error: stray '\302' in program
    9 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if(n<=1){
      |         ^~~~~~~~
main.c:9:3: error: stray '\302' in program
    9 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if(n<=1){
      |                 ^~~~~~~~
main.c:9:4: error: stray '\302' in program
    9 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if(n<=1){
      |                         ^~~~~~~~
main.c:9:5: error: stray '\302' in program
    9 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if(n<=1){
      |                                 ^~~~~~~~
main.c:9:6: error: stray '\302' in program
    9 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if(n<=1){
      |                                         ^~~~~~~~
main.c:9:7: error: stray '\302' in program
    9 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if(n<=1){
      |                                                 ^~~~~~~~
main.c:9:8: error: stray '\302' in program
    9 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if(n<=1){
      |                                                         ^~~~~~~~
main.c:10:1: error: stray '\302' in program
   10 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>cnt=0;
      | ^~~~~~~~
main.c:10:2: error: stray '\302' in program
   10 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>cnt=0;
      |         ^~~~~~~~
main.c:10:3: error: stray '\302' in program
   10 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>cnt=0;
      |                 ^~~~~~~~
main.c:10:4: error: stray '\302' in program
   10 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>cnt=0;
      |                         ^~~~~~~~
main.c:10:5: error: stray '\302' in program
   10 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>cnt=0;
      |                                 ^~~~~~~~
main.c:10:6: error: stray '\302' in program
   10 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>cnt=0;
      |                                         ^~~~~~~~
main.c:10:7: error: stray '\302' in program
   10 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>cnt=0;
      |                                                 ^~~~~~~~
main.c:10:8: error: stray '\302' in program
   10 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>cnt=0;
      |                                                         ^~~~~~~~
main.c:10:9: error: stray '\302' in program
   10 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>cnt=0;
      |                                                                 ^~~~~~~~
main.c:10:10: error: stray '\302' in program
   10 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>cnt=0;
      |                                                                         ^~~~~~~~
main.c:10:11: error: stray '\302' in program
   10 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>cnt=0;
      |                                                                                 ^~~~~~~~
main.c:10:12: error: stray '\302' in program
   10 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>cnt=0;
      |                                                                                         ^~~~~~~~
main.c:11:1: error: stray '\302' in program
   11 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>}else{
      | ^~~~~~~~
main.c:11:2: error: stray '\302' in program
   11 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>}else{
      |         ^~~~~~~~
main.c:11:3: error: stray '\302' in program
   11 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>}else{
      |                 ^~~~~~~~
main.c:11:4: error: stray '\302' in program
   11 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>}else{
      |                         ^~~~~~~~
main.c:11:5: error: stray '\302' in program
   11 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>}else{
      |                                 ^~~~~~~~
main.c:11:6: error: stray '\302' in program
   11 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>}else{
      |                                         ^~~~~~~~
main.c:11:7: error: stray '\302' in program
   11 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>}else{
      |                                                 ^~~~~~~~
main.c:11:8: error: stray '\302' in program
   11 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>}else{
      |                                                         ^~~~~~~~
main.c:12:1: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>sosuu[cnt]=2;
      | ^~~~~~~~
main.c:12:2: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>sosuu[cnt]=2;
      |         ^~~~~~~~
main.c:12:3: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>sosuu[cnt]=2;
      |                 ^~~~~~~~
main.c:12:4: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>sosuu[cnt]=2;
      |                         ^~~~~~~~
main.c:12:5: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>sosuu[cnt]=2;
      |                                 ^~~~~~~~
main.c:12:6: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>sosuu[cnt]=2;
      |                                         ^~~~~~~~
main.c:12:7: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+0