Pagini recente »
Borderou de evaluare (job #640715)
|
Borderou de evaluare (job #116443)
|
Borderou de evaluare (job #632764)
|
Borderou de evaluare (job #169729)
|
Borderou de evaluare (job #603352)
Borderou de evaluare (job #603352)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:15:10: warning: statement with no effect [-Wunused-value]
15 | for(i>0; i<n; i++)
| ~^~
main.c:22:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'char *' [-Wformat=]
22 | fprintf(fout, "%d\n", "DA");
| ~^ ~~~~
| | |
| int char *
| %s
main.c:29:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'char *' [-Wformat=]
29 | fprintf(fout, "%d\n", "NU");
| ~^ ~~~~
| | |
| int char *
| %s
main.c:31:21: warning: too many arguments for format [-Wformat-extra-args]
31 | fprintf(fout, "%d\n", cnto, cnts);
| ^~~~~~
main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf(fin, "%d%d", &a, &n);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:18:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | fscanf(fin, "%d", &b);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:15:20: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized]
15 | for(i>0; i<n; i++)
| ~^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
131 kb
|
Incorect
|
0
|
2
|
1 ms
|
131 kb
|
Incorect
|
0
|
3
|
1 ms
|
131 kb
|
Incorect
|
0
|
4
|
1 ms
|
131 kb
|
Incorect
|
0
|
5
|
1 ms
|
131 kb
|
Incorect
|
0
|
6
|
1 ms
|
131 kb
|
Incorect
|
0
|
7
|
1 ms
|
131 kb
|
Incorect
|
0
|
8
|
1 ms
|
131 kb
|
Incorect
|
0
|
9
|
1 ms
|
131 kb
|
Incorect
|
0
|
10
|
1 ms
|
131 kb
|
Incorect
|
0
|
Punctaj total
|
0
|