Pagini recente » Borderou de evaluare (job #2236576) | Borderou de evaluare (job #296830) | Borderou de evaluare (job #1659699) | Borderou de evaluare (job #2881420) | Borderou de evaluare (job #1668680)
Borderou de evaluare (job #1668680)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%I64d",&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:34:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%I64d",n);
^
user.cpp:18:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%I64d",&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 316kb | Incorect | 0 |
2 | 0ms | 320kb | Incorect | 0 |
3 | 4ms | 316kb | Incorect | 0 |
4 | 4ms | 316kb | Incorect | 0 |
5 | 4ms | 312kb | Incorect | 0 |
6 | 4ms | 316kb | Incorect | 0 |
7 | 4ms | 312kb | Incorect | 0 |
8 | 4ms | 316kb | Incorect | 0 |
9 | 4ms | 316kb | Incorect | 0 |
10 | 4ms | 316kb | Incorect | 0 |
Punctaj total | 0 |