Pagini recente » Borderou de evaluare (job #2632189) | Borderou de evaluare (job #1192431) | Borderou de evaluare (job #2704918) | Borderou de evaluare (job #2581425) | Borderou de evaluare (job #1959052)
Borderou de evaluare (job #1959052)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:21:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ( "piata.in", "r", stdin );
^
user.cpp:22:61: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ( "%d%d%d%d%d\n", &n, &pi_x, &pi_y, &pf_x, &pf_y );
^
user.cpp: In function ‘void write()’:
user.cpp:51:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ( "piata.out", "w", stdout );
^
user.cpp: In function ‘int solve()’:
user.cpp:33:60: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
s -= x, s += vij(i, pi_y), x = vij(i, pf_y), t += s;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 264kb | OK | 10 |
| 2 | 0ms | 264kb | OK | 10 |
| 3 | 0ms | 260kb | OK | 10 |
| 4 | 0ms | 264kb | OK | 10 |
| 5 | 0ms | 260kb | OK | 10 |
| 6 | 0ms | 268kb | OK | 10 |
| 7 | 0ms | 264kb | OK | 10 |
| 8 | 0ms | 264kb | OK | 10 |
| 9 | 0ms | 260kb | OK | 10 |
| 10 | 0ms | 264kb | OK | 10 |
| Punctaj total | 100 |