Pagini recente » Borderou de evaluare (job #230934) | Borderou de evaluare (job #1375868) | Borderou de evaluare (job #574450) | Borderou de evaluare (job #1646832) | Borderou de evaluare (job #2464867)
Borderou de evaluare (job #2464867)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:16:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=2;i*i<=nmax;i++)
^~~
main.cpp:20:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
int ok=1;
^~~
main.cpp:11: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:14:11: warning: iteration 1000005 invokes undefined behavior [-Waggressive-loop-optimizations]
v[i]=1;
~~~~^~
main.cpp:12:12: note: within this loop
for(i=2;i<=nmax;i++)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 51ms | 4194kb | Incorect | 0 |
2 | 51ms | 4194kb | Incorect | 0 |
3 | 51ms | 4194kb | Incorect | 0 |
4 | 51ms | 4194kb | Incorect | 0 |
5 | 60ms | 4186kb | Incorect | 0 |
6 | 51ms | 4194kb | Incorect | 0 |
7 | 51ms | 4194kb | Incorect | 0 |
8 | 51ms | 4194kb | Incorect | 0 |
9 | 51ms | 4194kb | Incorect | 0 |
10 | 51ms | 4194kb | Incorect | 0 |
Punctaj total | 0 |