Pagini recente » Borderou de evaluare (job #354365) | Borderou de evaluare (job #1867601) | Borderou de evaluare (job #2755310) | Borderou de evaluare (job #1865940) | Borderou de evaluare (job #1664254)
Borderou de evaluare (job #1664254)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=1; j<v[i].size (); j++)
^
user.cpp:36:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int p=1; p * i <= j && p <= v[i].size (); p++)
^
user.cpp:14:34: 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);
^
user.cpp:15:36: 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);
^
user.cpp:17:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &N, &G);
^
user.cpp:21:28: 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 | 268ms | 1844kb | OK | 10 | 0 |
2 | 268ms | 1996kb | OK | 10 |
3 | 248ms | 1844kb | OK | 10 |
4 | 264ms | 2016kb | OK | 10 |
5 | 164ms | 2252kb | Incorect | 0 |
6 | 256ms | 1844kb | OK | 10 |
7 | 264ms | 2016kb | OK | 10 |
8 | 272ms | 1956kb | OK | 10 |
9 | 272ms | 1844kb | OK | 10 |
10 | 152ms | 2252kb | OK | 10 |
Punctaj total | 0 |