Pagini recente »
Borderou de evaluare (job #86002)
|
Borderou de evaluare (job #706026)
|
Borderou de evaluare (job #66053)
|
Borderou de evaluare (job #17929)
|
Borderou de evaluare (job #603362)
Borderou de evaluare (job #603362)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:13:10: warning: statement with no effect [-Wunused-value]
13 | for(i>0; i<n; i++)
| ~^~
main.c:20:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'char *' [-Wformat=]
20 | fprintf(fout, "%d\n", "DA");
| ~^ ~~~~
| | |
| int char *
| %s
main.c:27:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'char *' [-Wformat=]
27 | fprintf(fout, "%d\n", "NU");
| ~^ ~~~~
| | |
| int char *
| %s
main.c:29:21: warning: too many arguments for format [-Wformat-extra-args]
29 | fprintf(fout, "%d\n", cnto, cnts);
| ^~~~~~
main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf(fin, "%d%d", &a, &n);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:16:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | fscanf(fin, "%d", &b);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:13:20: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized]
13 | 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
|
3 ms
|
131 kb
|
Incorect
|
0
|
4
|
1 ms
|
262 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
|