Pagini recente » Borderou de evaluare (job #1807027) | Borderou de evaluare (job #2659783) | Borderou de evaluare (job #2785555) | Borderou de evaluare (job #1467088) | Borderou de evaluare (job #1739169)
Borderou de evaluare (job #1739169)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:72:130: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (s <= m && (ef[i] > ef[i ^ cf] + p * (x != 1) + 1.0 * s / x || (ef[i] == ef[i ^ cf] + p * (x != 1) + 1.0 * s / x) &&
^
user.cpp: In function ‘void read()’:
user.cpp:40:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scara2.in", "r", stdin);
^
user.cpp:42:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &h, &n, &m, &p);
^
user.cpp: In function ‘void write()’:
user.cpp:89:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scara2.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 480kb | OK | 10 |
| 2 | 20ms | 516kb | OK | 10 |
| 3 | 40ms | 568kb | OK | 10 |
| 4 | 40ms | 564kb | OK | 10 |
| 5 | 0ms | 480kb | OK | 10 |
| 6 | 0ms | 476kb | OK | 10 |
| 7 | 24ms | 568kb | OK | 10 |
| 8 | 0ms | 480kb | OK | 10 |
| 9 | 4ms | 480kb | OK | 10 |
| 10 | 0ms | 564kb | OK | 10 |
| Punctaj total | 100 |