Pagini recente » Borderou de evaluare (job #2449600) | Borderou de evaluare (job #921900) | Borderou de evaluare (job #245327) | Borderou de evaluare (job #2734525) | Borderou de evaluare (job #2477310)
Borderou de evaluare (job #2477310)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:71:19: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
scanf("%d", &n);
^
main.cpp:72:46: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
for(i = 1; i <= n; i++) scanf("%d", &v[i]);
^
main.cpp:81:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll {aka long long int}' [-Wformat=]
printf("%d\n", r);
^
main.cpp:70:11: warning: unused variable 't' [-Wunused-variable]
ll i, t(0), r, pas;
^
main.cpp:68:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lumanari.in", "r", stdin);
^
main.cpp:69:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lumanari.out", "w", stdout);
^
main.cpp:71:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:72:47: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(i = 1; i <= n; i++) scanf("%d", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 10 |
2 | 2ms | 131kb | OK | 10 | 10 |
3 | 2ms | 131kb | OK | 10 | 10 |
4 | 118ms | 1441kb | OK | 10 | 10 |
5 | 140ms | 1703kb | OK | 10 | 10 |
6 | 138ms | 1572kb | OK | 10 | 10 |
7 | 112ms | 1703kb | OK | 10 | 10 |
8 | 125ms | 1703kb | OK | 10 | 0 |
9 | 84ms | 1572kb | OK | 10 |
10 | 72ms | 1572kb | Incorect | 0 |
Punctaj total | 70 |