Borderou de evaluare (job #2303849)

Utilizator cezar.plescaCezar Plesca cezar.plesca Data 17 decembrie 2018 01:10:42
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void update(int, int)': main.cpp:13:30: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] for (; x <= N; x += x^(x-1) & x) ~~~~~~^~~ main.cpp: In function 'int query(int)': main.cpp:20:25: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] for (; x; x -= x^(x-1) & x) ~~~~~~^~~ main.cpp: In function 'int main()': main.cpp:30:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("scmax_test9.in", "r", stdin); ^ main.cpp:31:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("scmax.out", "w", stdout); ^ main.cpp:33:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^ main.cpp:35:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &V[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbLungime incorecta!00
22ms131kbLungime incorecta!00
32ms131kbLungime incorecta!00
42ms131kbLungime incorecta!00
52ms131kbLungime incorecta!00
62ms131kbLungime incorecta!00
72ms131kbLungime incorecta!00
82ms131kbLungime incorecta!00
92ms131kbLungime incorecta!0
102ms131kbLungime incorecta!0
Punctaj total0

Ceva nu functioneaza?