Pagini recente » Borderou de evaluare (job #2436797) | Borderou de evaluare (job #847216) | Borderou de evaluare (job #3178904) | Borderou de evaluare (job #1120250) | Borderou de evaluare (job #2647054)
Borderou de evaluare (job #2647054)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:38:20: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'int*' [-Wformat=]
scanf("%ld", &n);
^
main.cpp:40:54: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=]
for (int i = 1, et = 1; i <= n; printf("%ld ", gs), i++)
^
main.cpp: In function 'int query_ai(int, int, int, int)':
main.cpp:32:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:36:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("order.in","r",stdin);
^
main.cpp:37:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("order.out","w",stdout);
^
main.cpp:38:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 5 |
| 2 | 2ms | 131kb | OK | 5 |
| 3 | 2ms | 131kb | OK | 5 |
| 4 | 2ms | 131kb | OK | 5 |
| 5 | 2ms | 131kb | OK | 5 |
| 6 | 3ms | 131kb | OK | 5 |
| 7 | 4ms | 131kb | OK | 5 |
| 8 | 4ms | 131kb | OK | 5 |
| 9 | 4ms | 131kb | OK | 5 |
| 10 | 4ms | 131kb | OK | 5 |
| 11 | 5ms | 131kb | OK | 5 |
| 12 | 7ms | 262kb | OK | 5 |
| 13 | 7ms | 262kb | OK | 5 |
| 14 | 8ms | 262kb | OK | 5 |
| 15 | 9ms | 262kb | OK | 5 |
| 16 | 9ms | 262kb | OK | 5 |
| 17 | 12ms | 262kb | OK | 5 |
| 18 | 15ms | 262kb | OK | 5 |
| 19 | 29ms | 524kb | OK | 5 |
| 20 | 32ms | 524kb | OK | 5 |
| Punctaj total | 100 |