Pagini recente »
Borderou de evaluare (job #186268)
|
Borderou de evaluare (job #668682)
Borderou de evaluare (job #668682)
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:45:25: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
45 | for(i = x; i <= y; i++) {
| ~^~
main.c:9:19: warning: 'tx' may be used uninitialized in this function [-Wmaybe-uninitialized]
9 | int n, i, x, y, tx, ty, cnt, max;
| ^~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
110 kb
|
OK
|
10
|
|
2
|
1 ms
|
114 kb
|
OK
|
10
|
|
3
|
1 ms
|
114 kb
|
a) linie incorecta; b) OK
|
4
|
|
4
|
1 ms
|
114 kb
|
OK
|
10
|
|
5
|
1 ms
|
114 kb
|
OK
|
10
|
|
6
|
2 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
|
94
|