Pagini recente »
Borderou de evaluare (job #529881)
|
Borderou de evaluare (job #467227)
|
Borderou de evaluare (job #769340)
|
Borderou de evaluare (job #64005)
|
Borderou de evaluare (job #605485)
Borderou de evaluare (job #605485)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:17:21: warning: format '%d' expects a matching 'int *' argument [-Wformat=]
17 | fscanf(fin, "%d%d", &c);
| ~^
| |
| int *
main.c:68:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
68 | else if(c==3 && cntp==0 || cntf<f || cntm<m || cnta<a)
| ~~~~~^~~~~~~~~~
main.c:17:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | fscanf(fin, "%d%d", &c);
| ^~~~~~~~~~~~~~~~~~~~~~~
main.c:19:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
19 | fscanf(fin, "%d%d%d", &f, &m, &a);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:20:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
20 | fscanf(fin, "%d", &n);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:23:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
23 | fscanf(fin, "%c", &r);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:26:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
26 | fscanf(fin, "%d", &v);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:8:59: warning: 'maxp' may be used uninitialized in this function [-Wmaybe-uninitialized]
8 | int c, f, m, a, n, v, i, cntp, cntf, cntm, cnta, max, maxp, save;
| ^~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
131 kb
|
OK
|
5
|
2
|
1 ms
|
131 kb
|
OK
|
5
|
3
|
1 ms
|
131 kb
|
OK
|
5
|
4
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
5
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
6
|
1 ms
|
131 kb
|
OK
|
5
|
7
|
1 ms
|
131 kb
|
OK
|
5
|
8
|
1 ms
|
131 kb
|
OK
|
5
|
9
|
1 ms
|
131 kb
|
OK
|
5
|
10
|
1 ms
|
131 kb
|
OK
|
5
|
11
|
1 ms
|
131 kb
|
Incorect
|
0
|
12
|
1 ms
|
131 kb
|
Incorect
|
0
|
13
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
14
|
8 ms
|
131 kb
|
Killed by Signal 11
|
0
|
15
|
1 ms
|
131 kb
|
Incorect
|
0
|
16
|
1 ms
|
131 kb
|
Incorect
|
0
|
17
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
18
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
19
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
20
|
7 ms
|
131 kb
|
Killed by Signal 11
|
0
|
Punctaj total
|
40
|