Pagini recente » Borderou de evaluare (job #988520) | Borderou de evaluare (job #767271) | Borderou de evaluare (job #145369) | Borderou de evaluare (job #1240326) | Borderou de evaluare (job #2405235)
Borderou de evaluare (job #2405235)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:55:33: warning: format '%d' expects argument of type 'int', but argument 2 has type '__gnu_cxx::__alloc_traits<std::allocator<long long int> >::value_type {aka long long int}' [-Wformat=]
printf("%d\n", nr[y]);
^
main.cpp:57:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(y == nr.size())
~~^~~~~~~~~~~~
main.cpp:59:37: warning: format '%d' expects argument of type 'int', but argument 2 has type '__gnu_cxx::__alloc_traits<std::allocator<long long int> >::value_type {aka long long int}' [-Wformat=]
printf("%d\n", nr[y - 1]);
^
main.cpp:65:41: warning: format '%d' expects argument of type 'int', but argument 2 has type '__gnu_cxx::__alloc_traits<std::allocator<long long int> >::value_type {aka long long int}' [-Wformat=]
printf("%d\n", nr[y - 1]);
^
main.cpp:69:37: warning: format '%d' expects argument of type 'int', but argument 2 has type '__gnu_cxx::__alloc_traits<std::allocator<long long int> >::value_type {aka long long int}' [-Wformat=]
printf("%d\n", nr[y]);
^
main.cpp:34:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("abx.in", "r", stdin);
^
main.cpp:35:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("abx.out", "w", stdout);
^
main.cpp:36:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %lld", &n, &m);
^
main.cpp:51: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 | 5 |
2 | 2ms | 131kb | OK | 5 |
3 | 2ms | 131kb | OK | 5 |
4 | 2ms | 131kb | OK | 5 |
5 | 2ms | 131kb | OK | 5 |
6 | 3ms | 131kb | OK | 5 |
7 | 3ms | 131kb | OK | 5 |
8 | 6ms | 131kb | OK | 5 |
9 | 6ms | 131kb | OK | 5 |
10 | 6ms | 131kb | OK | 5 |
11 | 6ms | 131kb | OK | 5 |
12 | 6ms | 131kb | OK | 5 |
13 | 7ms | 131kb | OK | 5 |
14 | 15ms | 782kb | OK | 5 |
15 | 15ms | 782kb | OK | 5 |
16 | 15ms | 782kb | OK | 5 |
17 | 1021ms | 176381kb | Time limit exceeded | 0 |
18 | 1005ms | 196173kb | Time limit exceeded | 0 |
19 | 1000ms | 208232kb | Time limit exceeded | 0 |
20 | 1012ms | 220684kb | Time limit exceeded | 0 |
Punctaj total | 80 |