Borderou de evaluare (job #1304474)

Utilizator andreiiiiPopa Andrei andreiiii Data 28 decembrie 2014 22:35:06
Problema Kthvalue Status done
Runda Happy Birthday Infoarena 2014 Compilator cpp | Vezi sursa
Scor 0

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
10ms556kbOK200
2672ms10860kbOK20
3Depăşit100288kbTime limit exceeded.0
4Depăşit135648kbTime limit exceeded.0
5Depăşit208344kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?