Pagini recente » Borderou de evaluare (job #426855) | Borderou de evaluare (job #1709845) | Borderou de evaluare (job #1447223) | Monitorul de evaluare | Borderou de evaluare (job #1670967)
Borderou de evaluare (job #1670967)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (v[i].y > R)
^
user.cpp:29:28: warning: variable ‘ok’ set but not used [-Wunused-but-set-variable]
int L = a, R = v[1].y, ok = 1, nr = 1;
^
user.cpp:18:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dunarea.in", "r", stdin);
^
user.cpp:19:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dunarea.out", "w", stdout);
^
user.cpp:21:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &a, &b, &n);
^
user.cpp:24:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &tempx, &tempy);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 252kb | OK | 10 |
| 2 | 0ms | 252kb | OK | 10 |
| 3 | 0ms | 252kb | OK | 10 |
| 4 | 0ms | 260kb | OK | 10 |
| 5 | 0ms | 256kb | OK | 10 |
| 6 | 0ms | 264kb | OK | 10 |
| 7 | 0ms | 256kb | OK | 10 |
| 8 | 0ms | 284kb | OK | 10 |
| 9 | 0ms | 268kb | OK | 10 |
| 10 | 0ms | 252kb | OK | 10 |
| Punctaj total | 100 |