Pagini recente » Borderou de evaluare (job #2082480) | Borderou de evaluare (job #139601) | Borderou de evaluare (job #3258206) | Borderou de evaluare (job #2198612) | Borderou de evaluare (job #2201190)
Borderou de evaluare (job #2201190)
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 | 1324kb | OK | 5 |
4 | 0ms | 1388kb | OK | 5 |
5 | Depăşit | 55252kb | Time limit exceeded. | 0 |
6 | Depăşit | 48812kb | Time limit exceeded. | 0 |
7 | Depăşit | 57780kb | Time limit exceeded. | 0 |
8 | 168ms | Depăşit | Memory limit exceeded. | 0 |
9 | Depăşit | 62396kb | Time limit exceeded. | 0 |
10 | Depăşit | 65564kb | Time limit exceeded. | 0 |
11 | Depăşit | 64760kb | Time limit exceeded. | 0 |
12 | 168ms | Depăşit | Memory limit exceeded. | 0 |
13 | 168ms | Depăşit | Memory limit exceeded. | 0 |
14 | 168ms | Depăşit | Memory limit exceeded. | 0 |
15 | Depăşit | 64332kb | Time limit exceeded. | 0 |
16 | 168ms | Depăşit | Memory limit exceeded. | 0 |
17 | Depăşit | 65844kb | Time limit exceeded. | 0 |
18 | 168ms | Depăşit | Memory limit exceeded. | 0 |
19 | 168ms | Depăşit | Memory limit exceeded. | 0 |
20 | 164ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 20 |