Pagini recente » Borderou de evaluare (job #2109287) | Borderou de evaluare (job #1784341) | Borderou de evaluare (job #3277083) | Borderou de evaluare (job #470781) | Borderou de evaluare (job #2100306)
Borderou de evaluare (job #2100306)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:20: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(b[p] < 48 | b[p] > 57)
^
user.cpp:22:20: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while(b[p] > 47 & b[p] < 58)
^
user.cpp:29:17: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while(n & 1 == 0)
^
user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("exp.in", "r", stdin);
^
user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("exp.out", "w", stdout);
^
user.cpp:12:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &M, &N);
^
user.cpp:20:26: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
++p ^ 131072 || (fread(b, 1, 131072, stdin), p = 0);
^
user.cpp:26:26: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
++p ^ 131072 || (fread(b, 1, 131072, stdin), p = 0);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | Depăşit | 380kb | Time limit exceeded. | 0 |
| 2 | 8ms | 396kb | OK | 10 |
| 3 | 0ms | 272kb | OK | 10 |
| 4 | 0ms | 264kb | Incorect | 0 |
| 5 | 0ms | 260kb | Incorect | 0 |
| 6 | 0ms | 268kb | Incorect | 0 |
| 7 | 0ms | 260kb | Incorect | 0 |
| 8 | 0ms | 268kb | Incorect | 0 |
| 9 | 0ms | 284kb | Incorect | 0 |
| 10 | 0ms | 276kb | OK | 10 |
| Punctaj total | 30 |