Pagini recente » Borderou de evaluare (job #3140229) | Borderou de evaluare (job #3245390) | Borderou de evaluare (job #2814482) | Borderou de evaluare (job #75704) | Borderou de evaluare (job #1266168)
Borderou de evaluare (job #1266168)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve(int)’:
user.cpp:62:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (h.size() - vol[*it] + 1 > max_vol[*it])
^
user.cpp: In function ‘int main()’:
user.cpp:101:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("kdist.in", "r", stdin);
^
user.cpp:102:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("kdist.out", "w", stdout);
^
user.cpp:103:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &N);
^
user.cpp:104:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &K);
^
user.cpp:108:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &X, &Y);
^
user.cpp:113:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &cul[i]);
^
user.cpp: In function ‘void solve(int)’:
user.cpp:71:33: warning: ‘centru’ may be used uninitialized in this function [-Wmaybe-uninitialized]
ap_culoare_in_tot[cul[centru]] ++;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2656kb | Incorect | 0 |
2 | 4ms | 2712kb | Incorect | 0 |
3 | 92ms | 3080kb | Incorect | 0 |
4 | 68ms | 3080kb | Incorect | 0 |
5 | Depăşit | 5528kb | Time limit exceeded. | 0 |
6 | Depăşit | 6420kb | Time limit exceeded. | 0 |
7 | Depăşit | 9904kb | Time limit exceeded. | 0 |
8 | Depăşit | 10536kb | Time limit exceeded. | 0 |
9 | Depăşit | 12324kb | Time limit exceeded. | 0 |
10 | Depăşit | 11864kb | Time limit exceeded. | 0 |
Punctaj total | 0 |