Pagini recente » Borderou de evaluare (job #1809920) | Borderou de evaluare (job #1340453) | Borderou de evaluare (job #903878) | Borderou de evaluare (job #963333) | Borderou de evaluare (job #1664257)
Borderou de evaluare (job #1664257)
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 | 272ms | 1844kb | OK | 10 | 100 |
2 | 264ms | 1996kb | OK | 10 |
3 | 240ms | 1844kb | OK | 10 |
4 | 264ms | 2016kb | OK | 10 |
5 | 148ms | 2256kb | OK | 10 |
6 | 252ms | 1844kb | OK | 10 |
7 | 264ms | 2020kb | OK | 10 |
8 | 268ms | 1956kb | OK | 10 |
9 | 272ms | 1844kb | OK | 10 |
10 | 144ms | 2256kb | OK | 10 |
Punctaj total | 100 |