Pagini recente »
Borderou de evaluare (job #666129)
Borderou de evaluare (job #666129)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:25:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
25 | fscanf(fin, "%d%d", &n, &d[0]);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:31:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
31 | fscanf(fin, "%d", &x);
| ~~~~~~^~~~~~~~~~~~~~~
main.cpp:75:10: warning: 'last' may be used uninitialized in this function [-Wmaybe-uninitialized]
75 | last = from[last];
| ~~~~~^~~~~~~~~~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
114 kb
|
OK
|
10
|
|
2
|
1 ms
|
114 kb
|
OK
|
10
|
|
3
|
1 ms
|
118 kb
|
OK
|
10
|
|
4
|
8 ms
|
245 kb
|
OK
|
10
|
|
5
|
17 ms
|
376 kb
|
OK
|
10
|
|
6
|
26 ms
|
503 kb
|
OK
|
10
|
|
7
|
29 ms
|
512 kb
|
OK
|
10
|
|
8
|
37 ms
|
638 kb
|
OK
|
10
|
|
9
|
30 ms
|
507 kb
|
OK
|
10
|
|
10
|
2 ms
|
114 kb
|
Drum gresit
|
4
|
|
Punctaj total
|
94
|