Pagini recente » Cod sursa (job #170441) | Diferente pentru problema/distincte intre reviziile 6 si 7 | Cod sursa (job #538059) | Borderou de evaluare (job #2482481) | Borderou de evaluare (job #1791759)
Borderou de evaluare (job #1791759)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pokemon.in", "r", stdin);
^
user.cpp:31:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pokemon.out", "w", stdout);
^
user.cpp:33:63: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int n, m, x, y, z; scanf("%d%d%d%d%d", &n, &m, &x, &y, &z); x -= 1; y -= 1; z -= 1;
^
user.cpp:40:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", cost[i] + j);
^
user.cpp:47:97: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int pokemon_1, pokemon_2, pokemon_3; scanf("%d%d%d", &pokemon_1, &pokemon_2, &pokemon_3);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 540kb | OK | 10 |
| 2 | 4ms | 532kb | OK | 10 |
| 3 | 16ms | 544kb | OK | 10 |
| 4 | 32ms | 540kb | OK | 10 |
| 5 | 56ms | 544kb | OK | 10 |
| 6 | 60ms | 544kb | OK | 10 |
| 7 | 60ms | 544kb | OK | 10 |
| 8 | 80ms | 544kb | OK | 10 |
| 9 | 104ms | 544kb | OK | 10 |
| 10 | 104ms | 540kb | OK | 10 |
| Punctaj total | 100 |