Pagini recente » Borderou de evaluare (job #1473578) | Borderou de evaluare (job #1112483) | Borderou de evaluare (job #1566569) | Borderou de evaluare (job #2709440) | Borderou de evaluare (job #2252620)
Borderou de evaluare (job #2252620)
Raport evaluator
Compilare:
user.cpp: In function ‘std::vector<int> mult(std::vector<int>, std::vector<int>)’:
user.cpp:71:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(n_<a.size()+b.size())n_=n_*2;
~~^~~~~~~~~~~~~~~~~~
user.cpp:75:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(a.size()>i)a_.push_back({a[i],0});
~~~~~~~~^~
user.cpp:75:44: warning: narrowing conversion of ‘a.std::vector<_Tp, _Alloc>::operator[]<int, std::allocator<int> >(((std::vector<int>::size_type)i))’ from ‘__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}’ to ‘double’ inside { } [-Wnarrowing]
if(a.size()>i)a_.push_back({a[i],0});
^
user.cpp:79:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(b.size()>i)b_.push_back({b[i],0});
~~~~~~~~^~
user.cpp:79:44: warning: narrowing conversion of ‘b.std::vector<_Tp, _Alloc>::operator[]<int, std::allocator<int> >(((std::vector<int>::size_type)i))’ from ‘__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}’ to ‘double’ inside { } [-Wnarrowing]
if(b.size()>i)b_.push_back({b[i],0});
^
user.cpp: In function ‘int main()’:
user.cpp:119:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("chimichangas.in","r",stdin);
^
user.cpp:120:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("chimichangas.out","w",stdout);
^
user.cpp:122:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i%i",&n,&k);
^
user.cpp:123:42: 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("%i",&cal[i]);there[cal[i]]++;c=max(c,cal[i]);}
^
user.cpp:129:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i",&q);
^
user.cpp:133:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i",&w);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 232ms | 1952kb | OK | 5 | 20 |
2 | 92ms | 1332kb | OK | 5 |
3 | 228ms | 1944kb | OK | 5 |
4 | 172ms | 1548kb | OK | 5 |
5 | 616ms | 6140kb | OK | 5 | 5 |
6 | 176ms | 1996kb | OK | 5 | 25 |
7 | 248ms | 2428kb | OK | 5 |
8 | 236ms | 1980kb | OK | 5 |
9 | 248ms | 2424kb | OK | 5 |
10 | 272ms | 1952kb | OK | 5 |
11 | 496ms | 2392kb | OK | 5 | 20 |
12 | 660ms | 3564kb | OK | 5 |
13 | 668ms | 3644kb | OK | 5 |
14 | 400ms | 3700kb | OK | 5 |
15 | Depăşit | 10652kb | Time limit exceeded. | 0 | 0 |
16 | Depăşit | 6044kb | Time limit exceeded. | 0 |
17 | Depăşit | 5772kb | Time limit exceeded. | 0 |
18 | Depăşit | 8756kb | Time limit exceeded. | 0 |
19 | Depăşit | 10192kb | Time limit exceeded. | 0 |
20 | Depăşit | 10136kb | Time limit exceeded. | 0 |
Punctaj total | 70 |