Pagini recente » Borderou de evaluare (job #2784223) | Borderou de evaluare (job #204896) | Borderou de evaluare (job #3212066) | Borderou de evaluare (job #1241472) | Borderou de evaluare (job #2464876)
Borderou de evaluare (job #2464876)
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:11:15: warning: unused variable 'r' [-Wunused-variable]
long long int r;
^
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 200005 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 | 4ms | 917kb | Incorect | 0 |
2 | 4ms | 917kb | Incorect | 0 |
3 | 4ms | 917kb | Incorect | 0 |
4 | 4ms | 917kb | Incorect | 0 |
5 | 5ms | 917kb | Incorect | 0 |
6 | 3ms | 917kb | Incorect | 0 |
7 | 4ms | 917kb | Incorect | 0 |
8 | 4ms | 917kb | Incorect | 0 |
9 | 5ms | 917kb | Incorect | 0 |
10 | 4ms | 917kb | Incorect | 0 |
Punctaj total | 0 |