Pagini recente » Borderou de evaluare (job #595721) | Borderou de evaluare (job #902137) | Borderou de evaluare (job #745567) | Borderou de evaluare (job #917241) | Borderou de evaluare (job #2130988)
Borderou de evaluare (job #2130988)
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 |
1 | 0ms | 1356kb | OK | 10 |
2 | 0ms | 1348kb | OK | 10 |
3 | 0ms | 1348kb | OK | 10 |
4 | 0ms | 1372kb | OK | 10 |
5 | 0ms | 1376kb | OK | 10 |
6 | 0ms | 1448kb | OK | 10 |
7 | 0ms | 1440kb | OK | 10 |
8 | Depăşit | 1636kb | Time limit exceeded. | 0 |
9 | 0ms | 1568kb | OK | 10 |
10 | 8ms | 1568kb | OK | 10 |
Punctaj total | 90 |