Pagini recente » Borderou de evaluare (job #83050) | Borderou de evaluare (job #54235) | Borderou de evaluare (job #90716) | Borderou de evaluare (job #1103691) | Borderou de evaluare (job #2252560)
Borderou de evaluare (job #2252560)
Raport evaluator
Compilare:
user.cpp: In function ‘std::vector<int> mult(std::vector<int>, std::vector<int>)’:
user.cpp:50:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<a.size();i++)
~^~~~~~~~~
user.cpp:51:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<b.size();j++)
~^~~~~~~~~
user.cpp:68:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(n_<a.size()+b.size())n_=n_*2;
~~^~~~~~~~~~~~~~~~~~
user.cpp:72:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(a.size()>i)a_.push_back({a[i],0});
~~~~~~~~^~
user.cpp:72: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:76:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(b.size()>i)b_.push_back({b[i],0});
~~~~~~~~^~
user.cpp:76: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:113: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:114: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:116: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:117: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:123:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i",&q);
^
user.cpp:127: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 | 152ms | 1372kb | OK | 5 | 20 |
2 | 88ms | 1328kb | OK | 5 |
3 | 152ms | 1372kb | OK | 5 |
4 | 120ms | 1356kb | OK | 5 |
5 | Depăşit | 2284kb | Time limit exceeded. | 0 | 0 |
6 | 184ms | 1440kb | OK | 5 | 25 |
7 | 244ms | 1492kb | OK | 5 |
8 | 200ms | 1428kb | OK | 5 |
9 | 244ms | 1492kb | OK | 5 |
10 | 168ms | 1416kb | OK | 5 |
11 | 376ms | 1452kb | OK | 5 | 0 |
12 | 780ms | 1544kb | OK | 5 |
13 | Depăşit | 1740kb | Time limit exceeded. | 0 |
14 | 1312ms | 1696kb | OK | 5 |
15 | Depăşit | 2504kb | Time limit exceeded. | 0 | 0 |
16 | Depăşit | 1856kb | Time limit exceeded. | 0 |
17 | Depăşit | 1908kb | Time limit exceeded. | 0 |
18 | Depăşit | 1912kb | Time limit exceeded. | 0 |
19 | Depăşit | 1908kb | Time limit exceeded. | 0 |
20 | Depăşit | 1900kb | Time limit exceeded. | 0 |
Punctaj total | 45 |