Pagini recente »
Borderou de evaluare (job #618737)
|
Borderou de evaluare (job #808092)
Borderou de evaluare (job #808092)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf(fin, "%d %d %d", &m, &n, &s);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:16:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | fscanf(fin, "%d", &piesa);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
main.c:49:14: warning: 'turnmin' may be used uninitialized [-Wmaybe-uninitialized]
49 | if (v[c] + 1 > maxx)
| ~^~~
main.c:10:36: note: 'turnmin' was declared here
10 | int m, n, i, s, c, maxx, minx, turnmin, turn, piesa, spatii, pvec, nrp;
| ^~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
245 kb
|
OK
|
10
|
3
|
1 ms
|
245 kb
|
OK
|
10
|
4
|
1 ms
|
245 kb
|
OK
|
10
|
5
|
39 ms
|
249 kb
|
OK
|
10
|
6
|
1 ms
|
249 kb
|
OK
|
10
|
7
|
9 ms
|
245 kb
|
OK
|
10
|
8
|
1 ms
|
266 kb
|
OK
|
10
|
9
|
9 ms
|
249 kb
|
OK
|
10
|
10
|
1 ms
|
270 kb
|
OK
|
10
|
Punctaj total
|
100
|