Pagini recente »
Borderou de evaluare (job #668684)
Borderou de evaluare (job #668684)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:14:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf(fin, "%d%d", &n, &v[0]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:16:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | fscanf(fin, "%d", &v[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:41:23: warning: 'tx' may be used uninitialized in this function [-Wmaybe-uninitialized]
41 | for(i = x; i <= x + max - 1; i++) {
| ~~^~~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
114 kb
|
a) OK; b) linie incorecta
|
6
|
|
2
|
1 ms
|
114 kb
|
OK
|
10
|
|
3
|
1 ms
|
114 kb
|
a) linie incorecta; b) linie incorecta
|
0
|
|
4
|
1 ms
|
114 kb
|
OK
|
10
|
|
5
|
1 ms
|
114 kb
|
OK
|
10
|
|
6
|
1 ms
|
114 kb
|
OK
|
10
|
|
7
|
1 ms
|
114 kb
|
OK
|
10
|
|
8
|
1 ms
|
114 kb
|
OK
|
10
|
|
9
|
1 ms
|
114 kb
|
OK
|
10
|
|
10
|
1 ms
|
114 kb
|
OK
|
10
|
|
Punctaj total
|
86
|