Pagini recente » Borderou de evaluare (job #2427940) | Borderou de evaluare (job #76384) | Borderou de evaluare (job #3232777) | Borderou de evaluare (job #2006498) | Borderou de evaluare (job #2350841)
Borderou de evaluare (job #2350841)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:16:37: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d%d%d%d", &N, &K, &A, &B);
^
main.cpp:16:37: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
main.cpp:16:37: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
main.cpp:16:37: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'long long int*' [-Wformat=]
main.cpp:27:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d", sol);
^
main.cpp:13:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("divk.in", "r", stdin);
^
main.cpp:14:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("divk.out", "w", stdout);
^
main.cpp:16:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &N, &K, &A, &B);
^
main.cpp:18:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 10ms | 262kb | OK | 10 |
4 | 29ms | 524kb | OK | 10 |
5 | 56ms | 917kb | OK | 10 |
6 | 97ms | 2490kb | OK | 10 |
7 | 82ms | 1835kb | OK | 10 |
8 | 126ms | 2359kb | OK | 10 |
9 | 149ms | 3932kb | OK | 10 |
10 | 200ms | 4194kb | Time limit exceeded | 0 |
Punctaj total | 90 |