Pagini recente » Borderou de evaluare (job #1234489) | Borderou de evaluare (job #373758) | Borderou de evaluare (job #162895) | Borderou de evaluare (job #1008474) | Borderou de evaluare (job #1668668)
Borderou de evaluare (job #1668668)
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 | 112ms | 872kb | OK | 10 |
2 | 100ms | 868kb | OK | 10 |
3 | 68ms | 872kb | OK | 10 |
4 | 68ms | 876kb | Incorect | 0 |
5 | 68ms | 868kb | Incorect | 0 |
6 | 68ms | 872kb | Incorect | 0 |
7 | 68ms | 876kb | Incorect | 0 |
8 | 68ms | 876kb | Incorect | 0 |
9 | 68ms | 868kb | Incorect | 0 |
10 | 68ms | 876kb | Incorect | 0 |
Punctaj total | 30 |