Pagini recente »
Borderou de evaluare (job #215441)
|
Borderou de evaluare (job #744623)
|
Clasament nu_este_greu
|
Borderou de evaluare (job #795455)
|
Borderou de evaluare (job #824156)
Borderou de evaluare (job #824156)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:66:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
66 | for(int i=prim;i!=0;i = nxt[i])
| ^~~
main.c:69:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
69 | fprintf(fout, "%d", cnt);
| ^~~~~~~
main.c:72:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'char *' [-Wformat=]
72 | fprintf(fout, "%d", "\n");
| ~^ ~~~~
| | |
| int char *
| %s
main.c:15:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | fscanf(fin, "%d%d", &n, &k);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:30:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
30 | fscanf(fin, "%d", &tip);
| ^~~~~~~~~~~~~~~~~~~~~~~
main.c:48:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
48 | fscanf(fin, "%d", &x);
| ^~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Incorect
|
0
|
2
|
1 ms
|
245 kb
|
Incorect
|
0
|
3
|
1 ms
|
507 kb
|
Incorect
|
0
|
4
|
1 ms
|
270 kb
|
Incorect
|
0
|
5
|
1 ms
|
249 kb
|
Incorect
|
0
|
6
|
29 ms
|
790 kb
|
Incorect
|
0
|
7
|
29 ms
|
528 kb
|
Incorect
|
0
|
8
|
18 ms
|
524 kb
|
Incorect
|
0
|
9
|
29 ms
|
1052 kb
|
Incorect
|
0
|
10
|
39 ms
|
790 kb
|
Incorect
|
0
|
Punctaj total
|
0
|