Borderou de evaluare (job #1965181)

Utilizator george_stelianChichirim George george_stelian Data 14 aprilie 2017 00:01:27
Problema Xor Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:27:35: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] for(int bit=0;bit<=MaxBit && (1<<bit)<=x2 || (1<<bit)<=y2;bit++) ^ user.cpp:19:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("xor.in", "r", stdin); ^ user.cpp:20:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("xor.out", "w", stdout); ^ user.cpp:22:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&mod); ^ user.cpp:25:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d",&x1,&y1,&x2,&y2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOK10
20ms268kbOK10
3168ms272kbOK10
4188ms268kbOK10
5Depăşit268kbTime limit exceeded.0
6Depăşit272kbTime limit exceeded.0
7Depăşit268kbTime limit exceeded.0
8Depăşit268kbTime limit exceeded.0
9252ms268kbOK10
10Depăşit272kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?