Pagini recente » Borderou de evaluare (job #2164868) | Borderou de evaluare (job #2221740) | Borderou de evaluare (job #1382131) | Borderou de evaluare (job #1814031) | Borderou de evaluare (job #2464877)
Borderou de evaluare (job #2464877)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:17:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=2;i*i<=n;i++)
^~~
main.cpp:21:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
int ok=1;
^~~
main.cpp:12:22: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
main.cpp:15:11: warning: iteration 20005 invokes undefined behavior [-Waggressive-loop-optimizations]
v[i]=1;
~~~~^~
main.cpp:13:12: note: within this loop
for(i=2;i<=nmax;i++)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 262kb | Incorect | 0 |
2 | 3ms | 262kb | Incorect | 0 |
3 | 2ms | 262kb | Incorect | 0 |
4 | 2ms | 262kb | Incorect | 0 |
5 | 2ms | 262kb | Incorect | 0 |
6 | 3ms | 262kb | Incorect | 0 |
7 | 3ms | 262kb | Incorect | 0 |
8 | 3ms | 262kb | Incorect | 0 |
9 | 2ms | 262kb | Incorect | 0 |
10 | 2ms | 262kb | Incorect | 0 |
Punctaj total | 0 |