Pagini recente » Borderou de evaluare (job #1098549) | Borderou de evaluare (job #2823988) | Borderou de evaluare (job #1477566) | Borderou de evaluare (job #1087197) | Borderou de evaluare (job #1668667)
Borderou de evaluare (job #1668667)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d",&n);
^
user.cpp:24:44: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
for(j=(((i*i)<<1) + (i<<1)); (j<<1 +1)<=nmax; j+=(i<<1)+1 )
^
user.cpp:32:44: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
for(j=(((i*i)<<1) + (i<<1)); (j<<1 +1)<=nmax; j+=(i<<1)+1 )
^
user.cpp:41:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d",mn);
^
user.cpp:18:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 324kb | OK | 10 |
2 | 8ms | 332kb | OK | 10 |
3 | 4ms | 328kb | Incorect | 0 |
4 | 4ms | 328kb | Incorect | 0 |
5 | 4ms | 328kb | Incorect | 0 |
6 | 4ms | 328kb | Incorect | 0 |
7 | 4ms | 328kb | Incorect | 0 |
8 | 4ms | 328kb | Incorect | 0 |
9 | 4ms | 328kb | Incorect | 0 |
10 | 4ms | 324kb | Incorect | 0 |
Punctaj total | 20 |