Pagini recente » Borderou de evaluare (job #459822) | Borderou de evaluare (job #2188554) | Borderou de evaluare (job #1977937) | Borderou de evaluare (job #311531) | Borderou de evaluare (job #2816898)
Borderou de evaluare (job #2816898)
Raport evaluator
Compilare:
main.cpp: In function 'void read_solve()':
main.cpp:16:15: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
16 | for(j=1, max=0; j<i; ++j)
| ^~~
main.cpp:32:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
32 | if(!max)
| ^~
main.cpp: In function 'void write()':
main.cpp:57:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'int' [-Wformat=]
57 | printf("%d\n%llu", max, cate);
| ~~~^ ~~~~
| | |
| | int
| long long unsigned int
| %u
main.cpp:57:12: warning: 'cate' may be used uninitialized in this function [-Wmaybe-uninitialized]
57 | printf("%d\n%llu", max, cate);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | OK | 10 |
2 | 2ms | 184kb | OK | 10 |
3 | 2ms | 184kb | OK | 10 |
4 | 2ms | 184kb | OK | 10 |
5 | 2ms | 184kb | OK | 10 |
6 | 2ms | 184kb | OK | 10 |
7 | 2ms | 184kb | OK | 10 |
8 | 2ms | 184kb | OK | 10 |
9 | 6ms | 221kb | OK | 10 |
10 | 2ms | 184kb | OK | 10 |
Punctaj total | 100 |