Pagini recente » Borderou de evaluare (job #921354) | Borderou de evaluare (job #1050055) | Borderou de evaluare (job #1955171) | Borderou de evaluare (job #1434922) | Borderou de evaluare (job #1508157)
Borderou de evaluare (job #1508157)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:37:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘LL* {aka long long int*}’ [-Wformat=]
scanf("%d", &x);
^
user.cpp:40:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘LL* {aka long long int*}’ [-Wformat=]
scanf("%d%d", &a[0], &b[0]);
^
user.cpp:40:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘LL* {aka long long int*}’ [-Wformat=]
user.cpp:42:57: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘LL* {aka long long int*}’ [-Wformat=]
scanf("%d%d", &a[i - v[o]], &b[i - v[o]]);
^
user.cpp:42:57: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘LL* {aka long long int*}’ [-Wformat=]
user.cpp:14:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hacker3.in", "r", stdin);
^
user.cpp:15:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hacker3.out", "w", stdout);
^
user.cpp:22:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &n);
^
user.cpp:35:46: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hacker3.in", "r", stdin);
^
user.cpp:37:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:40:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a[0], &b[0]);
^
user.cpp:42:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a[i - v[o]], &b[i - v[o]]);
^
user.cpp:58:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld", &a[i], &b[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 440kb | OK | 5 | 5 |
2 | 0ms | 444kb | OK | 5 | 5 |
3 | 0ms | 444kb | OK | 5 | 5 |
4 | 0ms | 440kb | OK | 5 | 5 |
5 | 0ms | 460kb | OK | 5 | 5 |
6 | 0ms | 456kb | OK | 5 | 5 |
7 | 0ms | 456kb | OK | 5 | 5 |
8 | 0ms | 460kb | OK | 5 | 5 |
9 | 4ms | 588kb | OK | 5 | 30 |
10 | 4ms | 588kb | OK | 5 |
11 | 4ms | 592kb | OK | 5 |
12 | 4ms | 592kb | OK | 5 |
13 | 4ms | 588kb | OK | 5 |
14 | 4ms | 592kb | OK | 5 |
15 | 188ms | 592kb | OK | 5 | 30 |
16 | 180ms | 592kb | OK | 5 |
17 | 172ms | 592kb | OK | 5 |
18 | 200ms | 588kb | OK | 5 |
19 | 188ms | 588kb | OK | 5 |
20 | 260ms | 596kb | OK | 5 |
Punctaj total | 100 |