Borderou de evaluare (job #2374958)

Utilizator viperinulViPERiN viperinul Data 7 martie 2019 21:27:54
Problema Datorii Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void pune(int, int)': main.cpp:8:14: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] i+=(i^(i-1)&i); ~~~~~^~ main.cpp: In function 'int interogare(int)': main.cpp:28:14: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] x-=(x^(x-1)&x); ~~~~~^~ main.cpp: In function 'void citire()': main.cpp:14:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%ld%ld",&n,&m); ^ main.cpp:16:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&aux); ^ main.cpp: In function 'void calc()': main.cpp:37:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&p,&x,&y); ^ main.cpp: In function 'int main()': main.cpp:50:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("datorii.in","r",stdin); ^ main.cpp:51:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("datorii.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
17ms262kbKilled by Signal 110
26ms262kbKilled by Signal 110
38ms262kbKilled by Signal 110
47ms262kbKilled by Signal 110
56ms262kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?