Pagini recente »
Borderou de evaluare (job #435967)
|
Borderou de evaluare (job #121781)
|
Borderou de evaluare (job #53880)
|
Borderou de evaluare (job #245201)
|
Borderou de evaluare (job #603562)
Borderou de evaluare (job #603562)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:56:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
56 | for(i = 1; i <= nr_bunny; i++)
| ^~~
main.cpp:79:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
79 | durata++;
| ^~~~~~
main.cpp:25:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
25 | fscanf(fin, "%d%d", &l, &nr_oua);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:28:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
28 | fscanf(fin, "%d%d%d", &lin, &col, &val);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:36:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
36 | fscanf(fin, "%d", &nr_bunny);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:39:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
39 | fscanf(fin, "%d%d", &lin_bunny[i], &col_bunny[i]);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
131 kb
|
OK
|
10
|
2
|
1 ms
|
131 kb
|
OK
|
10
|
3
|
1 ms
|
131 kb
|
OK
|
10
|
4
|
1 ms
|
131 kb
|
OK
|
10
|
5
|
1 ms
|
131 kb
|
OK
|
10
|
6
|
1 ms
|
131 kb
|
OK
|
10
|
7
|
1 ms
|
131 kb
|
OK
|
10
|
8
|
1 ms
|
131 kb
|
OK
|
10
|
9
|
1 ms
|
131 kb
|
OK
|
10
|
10
|
1 ms
|
131 kb
|
OK
|
10
|
Punctaj total
|
100
|