Pagini recente » Borderou de evaluare (job #1454921) | Borderou de evaluare (job #2841266) | Borderou de evaluare (job #1329444) | Borderou de evaluare (job #1724531) | Borderou de evaluare (job #2777292)
Borderou de evaluare (job #2777292)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:40: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:53: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:53:63: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'long long int' [-Wformat=]
main.cpp:38: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:39: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:40: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 | 3ms | 131kb | Corect! | 5 |
| 3 | 3ms | 131kb | Corect! | 5 |
| 4 | 4ms | 262kb | Corect! | 5 |
| 5 | 2ms | 131kb | Incorect! | 0 |
| 6 | 3ms | 131kb | Incorect! | 0 |
| 7 | 3ms | 131kb | Incorect! | 0 |
| 8 | 3ms | 131kb | Incorect! | 0 |
| 9 | 54ms | 2097kb | Incorect! | 0 |
| 10 | 25ms | 1048kb | Corect! | 5 |
| 11 | 23ms | 917kb | Incorect! | 0 |
| 12 | 20ms | 786kb | Incorect! | 0 |
| 13 | 3ms | 131kb | Corect! | 5 |
| 14 | 6ms | 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 |