Pagini recente » Borderou de evaluare (job #2892120) | Borderou de evaluare (job #50020) | Borderou de evaluare (job #3037844) | Borderou de evaluare (job #924721) | Borderou de evaluare (job #1791748)
Borderou de evaluare (job #1791748)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31: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:32: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:34: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:41: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:48: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 | 1300kb | OK | 10 |
2 | 8ms | 1308kb | OK | 10 |
3 | 20ms | 1308kb | OK | 10 |
4 | 40ms | 1308kb | OK | 10 |
5 | 76ms | 1308kb | OK | 10 |
6 | 84ms | 1308kb | OK | 10 |
7 | 80ms | 1304kb | OK | 10 |
8 | 112ms | 1308kb | OK | 10 |
9 | 140ms | 1308kb | OK | 10 |
10 | 144ms | 1308kb | OK | 10 |
Punctaj total | 100 |