Pagini recente » Borderou de evaluare (job #646544) | Borderou de evaluare (job #2780475) | Borderou de evaluare (job #2848132) | Borderou de evaluare (job #3244622) | Borderou de evaluare (job #2293864)
Borderou de evaluare (job #2293864)
Raport evaluator
Compilare:
main.cpp: In function 'int cauta(int)':
main.cpp:20:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < numere[cod].size(); i++)
~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:52:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (op == 3)
^
main.cpp:42:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("hashuri.in", "r", stdin);
^
main.cpp:43:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("hashuri.out", "w", stdout);
^
main.cpp:45:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:47:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &op, &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 32ms | 17825kb | OK | 10 | 10 |
2 | 39ms | 17825kb | OK | 10 | 10 |
3 | 38ms | 17825kb | OK | 10 | 10 |
4 | 102ms | 18087kb | OK | 10 | 30 |
5 | 133ms | 19267kb | OK | 10 |
6 | 149ms | 20709kb | OK | 10 |
7 | 279ms | 20971kb | OK | 10 | 10 |
8 | 506ms | 27787kb | OK | 10 | 30 |
9 | 938ms | 32505kb | OK | 10 |
10 | 899ms | 30408kb | OK | 10 |
Punctaj total | 100 |