Pagini recente » Heap-uri | Borderou de evaluare (job #2854962) | Borderou de evaluare (job #2059224) | Borderou de evaluare (job #799903) | Borderou de evaluare (job #2225234)
Borderou de evaluare (job #2225234)
Raport evaluator
Compilare:
user.cpp: In function ‘void ReadInput()’:
user.cpp:22:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k); cubes = std::vector<std::vector<int > >(n + 1, std::vector<int >(k));
^
user.cpp:26:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int x; scanf("%d", &x);
^
user.cpp: In function ‘void Solve()’:
user.cpp:52:36: warning: iteration 100004 invokes undefined behavior [-Waggressive-loop-optimizations]
if(current_best < number_best[i] || (current_best == number_best[i] && current_cube > number_idx[i])) {
~~~~~~~~~~~~~^
user.cpp:51:20: note: within this loop
for(int i = 1; i <= MAX_VALUE; i++) {
~~^~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 1632kb | Incorect | 0 | 0 |
| 2 | 0ms | 1552kb | Incorect | 0 |
| 3 | 4ms | 1672kb | Incorect | 0 | 0 |
| 4 | 0ms | 1640kb | Incorect | 0 |
| 5 | 4ms | 1692kb | Incorect | 0 | 0 |
| 6 | 4ms | 1688kb | Incorect | 0 |
| 7 | 12ms | 1760kb | Incorect | 0 | 0 |
| 8 | 52ms | 2376kb | Incorect | 0 |
| 9 | 12ms | 1764kb | Incorect | 0 | 0 |
| 10 | 40ms | 2760kb | OK | 5 |
| 11 | 36ms | 1988kb | Incorect | 0 | 0 |
| 12 | 132ms | 3912kb | OK | 5 |
| 13 | Depăşit | 5800kb | Time limit exceeded. | 0 | 0 |
| 14 | 96ms | 3724kb | OK | 5 |
| 15 | 300ms | 4952kb | Incorect | 0 | 0 |
| 16 | 224ms | 5360kb | OK | 5 |
| 17 | Depăşit | 5484kb | Time limit exceeded. | 0 | 0 |
| 18 | 152ms | 4340kb | OK | 5 |
| 19 | Depăşit | 5564kb | Time limit exceeded. | 0 | 0 |
| 20 | Depăşit | 6556kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |