Pagini recente » Borderou de evaluare (job #129049) | Borderou de evaluare (job #1578112) | Borderou de evaluare (job #177679) | Borderou de evaluare (job #2368665) | Borderou de evaluare (job #2252549)
Borderou de evaluare (job #2252549)
Raport evaluator
Compilare:
user.cpp: In function ‘std::vector<int> mult(std::vector<int>, std::vector<int>)’:
user.cpp:53:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(n_<a.size()+b.size())n_=n_*2;
~~^~~~~~~~~~~~~~~~~~
user.cpp:57:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(a.size()>i)a_.push_back({a[i],0});
~~~~~~~~^~
user.cpp:57: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:61:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(b.size()>i)b_.push_back({b[i],0});
~~~~~~~~^~
user.cpp:61: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:98: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:99: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:101: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:102: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:109:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i",&q);
^
user.cpp:113: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 | 192ms | 1944kb | Incorect | 0 | 0 |
2 | 92ms | 1328kb | OK | 5 |
3 | 192ms | 1944kb | Incorect | 0 |
4 | 164ms | 1676kb | OK | 5 |
5 | 468ms | 6144kb | OK | 5 | 5 |
6 | 156ms | 2000kb | OK | 5 | 0 |
7 | 212ms | 2428kb | OK | 5 |
8 | 180ms | 1976kb | Incorect | 0 |
9 | 212ms | 2428kb | OK | 5 |
10 | 272ms | 1948kb | Incorect | 0 |
11 | 300ms | 2408kb | Incorect | 0 | 0 |
12 | 440ms | 3592kb | Incorect | 0 |
13 | 440ms | 3648kb | Incorect | 0 |
14 | 336ms | 3696kb | OK | 5 |
15 | Depăşit | 10652kb | Time limit exceeded. | 0 | 0 |
16 | Depăşit | 10236kb | Time limit exceeded. | 0 |
17 | Depăşit | 10192kb | Time limit exceeded. | 0 |
18 | Depăşit | 10196kb | Time limit exceeded. | 0 |
19 | Depăşit | 10200kb | Time limit exceeded. | 0 |
20 | Depăşit | 5948kb | Time limit exceeded. | 0 |
Punctaj total | 5 |