Borderou de evaluare (job #86519)

Utilizator avatar Eduard6421 Eduard Gabriel Eduard6421 IP ascuns
Problemă Inversiuni Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 10 nov. 2014 16:51:34 Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘void update(long long int, long long int)’: user.cpp:7:37: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] user.cpp: In function ‘long long int query(long long int)’: user.cpp:13:33: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] user.cpp: In function ‘int main()’: user.cpp:21:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat] user.cpp:23:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat] user.cpp:30:16: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat] user.cpp:20:24: warning: unused variable ‘k’ [-Wunused-variable] user.cpp:18:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:19:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:21:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:23:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 8 ms 532 kb OK 10
2 16 ms 712 kb OK 10
3 20 ms 872 kb OK 10
4 36 ms 1028 kb OK 10
5 36 ms 1032 kb OK 10
6 72 ms 1808 kb Incorect 0
7 48 ms 1160 kb Killed by signal 11(SIGSEGV). 0
8 44 ms 1160 kb Killed by signal 11(SIGSEGV). 0
9 44 ms 1160 kb Killed by signal 11(SIGSEGV). 0
10 44 ms 1160 kb Killed by signal 11(SIGSEGV). 0
Punctaj total 50