Pagini recente » Borderou de evaluare (job #692470) | Borderou de evaluare (job #1277234) | Borderou de evaluare (job #766588) | Borderou de evaluare (job #1496912) | Borderou de evaluare (job #1673578)
Borderou de evaluare (job #1673578)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10: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);
^
user.cpp:10:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:10:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:10:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp:13:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &x);
^
user.cpp:8: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);
^
user.cpp:9: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);
^
user.cpp:10: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);
^
user.cpp:13:28: 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 | 0ms | 292kb | OK | 10 |
2 | 0ms | 304kb | OK | 10 |
3 | 4ms | 404kb | OK | 10 |
4 | 16ms | 680kb | OK | 10 |
5 | 36ms | 1076kb | OK | 10 |
6 | 60ms | 2600kb | OK | 10 |
7 | 68ms | 1888kb | OK | 10 |
8 | 88ms | 2416kb | OK | 10 |
9 | 140ms | 3960kb | OK | 10 |
10 | 184ms | 4192kb | OK | 10 |
Punctaj total | 100 |