Pagini recente » Cod sursa (job #1574490) | Borderou de evaluare (job #684196) | Borderou de evaluare (job #1369993) | Borderou de evaluare (job #70672) | Borderou de evaluare (job #2201193)
Borderou de evaluare (job #2201193)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:26: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[16005]’ [-Wformat=]
scanf("%s\n",&sir);
^
user.cpp:27:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<nr[i].size();j++)
~^~~~~~~~~~~~~
user.cpp:37:24: warning: narrowing conversion of ‘nr[0].std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size<char, std::char_traits<char>, std::allocator<char> >()’ from ‘std::__cxx11::basic_string<char>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
dq.push({nr[0].size(),nr[0]});
~~~~~~~~~~^~
user.cpp:38:24: warning: narrowing conversion of ‘nr[1].std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size<char, std::char_traits<char>, std::allocator<char> >()’ from ‘std::__cxx11::basic_string<char>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
dq.push({nr[1].size(),nr[1]});
~~~~~~~~~~^~
user.cpp:39:24: warning: narrowing conversion of ‘nr[2].std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size<char, std::char_traits<char>, std::allocator<char> >()’ from ‘std::__cxx11::basic_string<char>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
dq.push({nr[2].size(),nr[2]});
~~~~~~~~~~^~
user.cpp:54:30: warning: narrowing conversion of ‘aux.std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size<char, std::char_traits<char>, std::allocator<char> >()’ from ‘std::__cxx11::basic_string<char>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
dq.push({aux.size(),aux});
~~~~~~~~^~
user.cpp:57:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",mx);
^
user.cpp:17:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("base3.in","r",stdin);
^
user.cpp:18:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("base3.out","w",stdout);
^
user.cpp:23:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n",&sir);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1360kb | OK | 5 |
| 2 | 0ms | 1324kb | OK | 5 |
| 3 | 0ms | 1328kb | OK | 5 |
| 4 | 0ms | 1388kb | OK | 5 |
| 5 | Depăşit | 52456kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 47876kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 59136kb | Time limit exceeded. | 0 |
| 8 | 172ms | Depăşit | Memory limit exceeded. | 0 |
| 9 | Depăşit | 62536kb | Time limit exceeded. | 0 |
| 10 | 168ms | Depăşit | Memory limit exceeded. | 0 |
| 11 | Depăşit | 65452kb | Time limit exceeded. | 0 |
| 12 | 172ms | Depăşit | Memory limit exceeded. | 0 |
| 13 | 168ms | Depăşit | Memory limit exceeded. | 0 |
| 14 | 168ms | Depăşit | Memory limit exceeded. | 0 |
| 15 | 172ms | Depăşit | Memory limit exceeded. | 0 |
| 16 | 168ms | Depăşit | Memory limit exceeded. | 0 |
| 17 | 168ms | Depăşit | Memory limit exceeded. | 0 |
| 18 | 168ms | Depăşit | Memory limit exceeded. | 0 |
| 19 | 172ms | Depăşit | Memory limit exceeded. | 0 |
| 20 | Depăşit | 64884kb | Time limit exceeded. | 0 |
| Punctaj total | 20 |