Pagini recente » Borderou de evaluare (job #818075) | Borderou de evaluare (job #2773671) | Borderou de evaluare (job #1320728) | Borderou de evaluare (job #1429422) | Borderou de evaluare (job #2416100)
Borderou de evaluare (job #2416100)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:48:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (v[w].size () * w > g)
~~~~~~~~~~~~~~~~~^~~
main.cpp:28:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("ruksak.in", "r", stdin);
^
main.cpp:30:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("ruksak.out", "w", stdout);
^
main.cpp:32:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &n, &g);
^
main.cpp:38:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &w, &p);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 300ms | 393kb | OK | 10 | 100 |
| 2 | 311ms | 393kb | OK | 10 |
| 3 | 280ms | 393kb | OK | 10 |
| 4 | 292ms | 393kb | OK | 10 |
| 5 | 163ms | 262kb | OK | 10 |
| 6 | 295ms | 393kb | OK | 10 |
| 7 | 279ms | 393kb | OK | 10 |
| 8 | 325ms | 393kb | OK | 10 |
| 9 | 302ms | 524kb | OK | 10 |
| 10 | 133ms | 262kb | OK | 10 |
| Punctaj total | 100 |