Pagini recente »
Borderou de evaluare (job #629734)
Borderou de evaluare (job #629734)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:19:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
19 | if(v[i]>0)
| ^~
main.c:21:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
21 | printf("%d\n", d);
| ^~~~~~
main.c:7:12: warning: unused variable 'cnt' [-Wunused-variable]
7 | int n, cnt=0, d=0, i=0;
| ^~~
main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | fscanf(fin, "%d", &n);
| ^~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
118 kb
|
Killed by Signal 11
|
0
|
2
|
1 ms
|
118 kb
|
Killed by Signal 11
|
0
|
3
|
1 ms
|
118 kb
|
Killed by Signal 11
|
0
|
4
|
1 ms
|
118 kb
|
Killed by Signal 11
|
0
|
5
|
2 ms
|
118 kb
|
Killed by Signal 11
|
0
|
6
|
1 ms
|
118 kb
|
Killed by Signal 11
|
0
|
7
|
1 ms
|
118 kb
|
Killed by Signal 11
|
0
|
8
|
1 ms
|
118 kb
|
Killed by Signal 11
|
0
|
9
|
1 ms
|
114 kb
|
Killed by Signal 11
|
0
|
10
|
1 ms
|
118 kb
|
Killed by Signal 11
|
0
|
Punctaj total
|
0
|