Pagini recente » Borderou de evaluare (job #1291766) | Borderou de evaluare (job #141016) | Borderou de evaluare (job #491705) | Borderou de evaluare (job #188833) | Borderou de evaluare (job #1304472)
Borderou de evaluare (job #1304472)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:203:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kthvalue.out", "w", stdout);
^
user.cpp:233:64: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d\n", query(left + x - 1, left + y - 1, k));
^
user.cpp:137:50: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
node = node->next[(w & (1 << lvl)) ? 1: 0];
^
user.cpp:213:19: note: ‘x’ was declared here
int type, x, y, k;
^
user.cpp:233:53: warning: ‘y’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d\n", query(left + x - 1, left + y - 1, k));
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 620kb | OK | 20 | 0 |
| 2 | 632ms | 25580kb | OK | 20 |
| 3 | Depăşit | 154616kb | Time limit exceeded. | 0 |
| 4 | Depăşit | 181360kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 242324kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |