Pagini recente » Cod sursa (job #820122) | Borderou de evaluare (job #2337912) | Borderou de evaluare (job #2972465) | Borderou de evaluare (job #2610869) | Borderou de evaluare (job #1710763)
Borderou de evaluare (job #1710763)
Raport evaluator
Compilare:
user.cpp: In function ‘void DP()’:
user.cpp:53:29: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if ((j + 1) & 2 == 0)
^
user.cpp: In function ‘void read()’:
user.cpp:34:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("grazing.in", "r", stdin);
^
user.cpp:35:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp: In function ‘void write()’:
user.cpp:86:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("grazing.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 444kb | OK | 10 |
| 2 | 0ms | 452kb | OK | 10 |
| 3 | 0ms | 452kb | OK | 10 |
| 4 | 8ms | 468kb | OK | 10 |
| 5 | 20ms | 476kb | OK | 10 |
| 6 | 80ms | 492kb | OK | 10 |
| 7 | 152ms | 508kb | OK | 10 |
| 8 | 256ms | 524kb | OK | 10 |
| 9 | Depăşit | 480kb | Time limit exceeded. | 0 |
| 10 | 0ms | 444kb | OK | 10 |
| Punctaj total | 90 |