Pagini recente » Borderou de evaluare (job #3339585) | Borderou de evaluare (job #2000110) | Borderou de evaluare (job #1927469) | Borderou de evaluare (job #786023) | Borderou de evaluare (job #2777290)
Borderou de evaluare (job #2777290)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:32:20: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
scanf("%ld", &b);
^
main.cpp:46:63: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=]
for(auto it : Sol) printf("%ld %ld\n", it.first, it.second);
^
main.cpp:46:63: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'long long int' [-Wformat=]
main.cpp:30:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("armonica.in", "r", stdin);
^
main.cpp:31:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("armonica.out", "w", stdout);
^
main.cpp:32:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Corect! | 5 |
| 2 | 2ms | 131kb | Corect! | 5 |
| 3 | 3ms | 131kb | Corect! | 5 |
| 4 | 4ms | 131kb | Corect! | 5 |
| 5 | 2ms | 131kb | Incorect! | 0 |
| 6 | 3ms | 131kb | Incorect! | 0 |
| 7 | 3ms | 131kb | Incorect! | 0 |
| 8 | 3ms | 131kb | Incorect! | 0 |
| 9 | 42ms | 1302kb | Incorect! | 0 |
| 10 | 19ms | 651kb | Corect! | 5 |
| 11 | 22ms | 782kb | Incorect! | 0 |
| 12 | 20ms | 651kb | Incorect! | 0 |
| 13 | 3ms | 131kb | Corect! | 5 |
| 14 | 5ms | 262kb | Incorect! | 0 |
| 15 | 2ms | 131kb | Corect! | 5 |
| 16 | 2ms | 131kb | Corect! | 5 |
| 17 | 4ms | 131kb | Corect! | 5 |
| 18 | 3ms | 131kb | Incorect! | 0 |
| 19 | 2ms | 131kb | Corect! (Exemplu) | 10 |
| Punctaj total | 55 |