Pagini recente » Borderou de evaluare (job #2514153) | Borderou de evaluare (job #727187) | Borderou de evaluare (job #2070489) | Borderou de evaluare (job #3192646) | Borderou de evaluare (job #2303780)
Borderou de evaluare (job #2303780)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:13:21: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
scanf("%dll", &n);
^
main.cpp:14:47: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
for (int i=1; i<=n; i++) scanf("%dll", a+i);
^
main.cpp:22:21: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
scanf("%dll", &q);
^
main.cpp:27:33: warning: format '%d' expects argument of type 'int', but argument 2 has type '__gnu_cxx::__normal_iterator<int*, std::vector<int> >::difference_type {aka long int}' [-Wformat=]
printf("%d\n", (hi - lo));
^
main.cpp:11:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("rk.in", "r", stdin);
^
main.cpp:12:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("rk.out", "w", stdout);
^
main.cpp:13:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%dll", &n);
^
main.cpp:14:48: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for (int i=1; i<=n; i++) scanf("%dll", a+i);
^
main.cpp:22:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%dll", &q);
^
main.cpp:24:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &r, &k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Incorect | 0 |
2 | 7ms | 262kb | Incorect | 0 |
3 | 100ms | 3801kb | Incorect | 0 |
4 | 403ms | 12636kb | Time limit exceeded | 0 |
5 | 197ms | 20496kb | Memory limit exceeded | 0 |
6 | 113ms | 3801kb | Incorect | 0 |
7 | 400ms | 13946kb | Time limit exceeded | 0 |
8 | 180ms | 20496kb | Memory limit exceeded | 0 |
9 | 191ms | 20496kb | Memory limit exceeded | 0 |
10 | 214ms | 20496kb | Memory limit exceeded | 0 |
Punctaj total | 0 |