Pagini recente »
Borderou de evaluare (job #275364)
|
Borderou de evaluare (job #118538)
|
Olimpiada pe școală, clasa a X-a, 2018
|
Borderou de evaluare (job #249511)
|
Borderou de evaluare (job #682009)
Borderou de evaluare (job #682009)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:30:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
30 | if(v[0] == v[n-1] && v[n-1] == v[n-2])
| ^~
main.c:32:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
32 | if(v[1] == v[0] && v[0] == v[n-1] )
| ^~
main.c:16:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | fscanf(fin,"%d%d",&n,&k);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:21:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
21 | fscanf(fin,"%d",&v[i]);
| ^~~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
OK
|
10
|
2
|
1 ms
|
114 kb
|
OK
|
10
|
3
|
1 ms
|
114 kb
|
OK
|
10
|
4
|
1 ms
|
114 kb
|
Incorect
|
0
|
5
|
1 ms
|
114 kb
|
OK
|
10
|
6
|
1 ms
|
114 kb
|
OK
|
10
|
7
|
1 ms
|
110 kb
|
Incorect
|
0
|
8
|
1 ms
|
114 kb
|
Incorect
|
0
|
9
|
1 ms
|
114 kb
|
OK
|
10
|
10
|
1 ms
|
114 kb
|
OK
|
10
|
Punctaj total
|
70
|