Borderou de evaluare (job #2130988)

Utilizator inquisitorAnders inquisitor Data 14 februarie 2018 10:15:21
Problema Figuri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘void read(int&)’: user.cpp:62:27: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses] while((c = getchar()) < 48 | c > 57) if(c == 45) sign = -1; ^ user.cpp:62:38: warning: operation on ‘c’ may be undefined [-Wsequence-point] while((c = getchar()) < 48 | c > 57) if(c == 45) sign = -1; ^ user.cpp:64:13: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] while(c > 47 & c < 58) n = n * 10 + c - 48, c = getchar(); ^ user.cpp: In function ‘int main()’: user.cpp:71:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("figuri.in", "r", stdin); ^ user.cpp:72:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("figuri.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1356kbOK10
20ms1348kbOK10
30ms1348kbOK10
40ms1372kbOK10
50ms1376kbOK10
60ms1448kbOK10
70ms1440kbOK10
8Depăşit1636kbTime limit exceeded.0
90ms1568kbOK10
108ms1568kbOK10
Punctaj total90

Ceva nu functioneaza?