Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2190797)
| Utilizator | Data | 31 martie 2018 19:04:44 | |
|---|---|---|---|
| Problema | Problema rucsacului | Status | done |
| Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
| Scor | 10 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:22: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%i%i", &n, &g);
^
user.cpp:14:22: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:15:57: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for (int i = 1; i <= n; ++i) scanf("%i%i", &w[i], &p[i]);
^
user.cpp:15:57: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:26:18: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%i", sol);
^
user.cpp:14:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i%i", &n, &g);
^
user.cpp:15:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i = 1; i <= n; ++i) scanf("%i%i", &w[i], &p[i]);
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test | Punctaj/grupa |
|---|---|---|---|---|---|
| 1 | 0ms | 760kb | OK | 5 | 10 |
| 2 | 0ms | 2820kb | OK | 5 | |
| 3 | 0ms | 4920kb | OK | 5 | 0 |
| 4 | 4ms | 8960kb | OK | 5 | |
| 5 | 8ms | Depăşit | Memory limit exceeded. | 0 | |
| 6 | 24ms | Depăşit | Memory limit exceeded. | 0 | 0 |
| 7 | 24ms | Depăşit | Memory limit exceeded. | 0 | |
| 8 | 48ms | Depăşit | Memory limit exceeded. | 0 | 0 |
| 9 | 48ms | Depăşit | Memory limit exceeded. | 0 | |
| 10 | 48ms | Depăşit | Memory limit exceeded. | 0 | |
| 11 | 48ms | Depăşit | Memory limit exceeded. | 0 | 0 |
| 12 | 48ms | Depăşit | Memory limit exceeded. | 0 | |
| 13 | 48ms | Depăşit | Memory limit exceeded. | 0 | |
| 14 | 48ms | Depăşit | Memory limit exceeded. | 0 | 0 |
| 15 | 48ms | Depăşit | Memory limit exceeded. | 0 | |
| 16 | 48ms | Depăşit | Memory limit exceeded. | 0 | |
| 17 | 48ms | Depăşit | Memory limit exceeded. | 0 | 0 |
| 18 | 48ms | Depăşit | Memory limit exceeded. | 0 | |
| 19 | 48ms | Depăşit | Memory limit exceeded. | 0 | |
| 20 | 48ms | Depăşit | Memory limit exceeded. | 0 | |
| Punctaj total | 10 | ||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
