Pagini recente » Borderou de evaluare (job #1014260) | Borderou de evaluare (job #404995) | Borderou de evaluare (job #14709) | Borderou de evaluare (job #2285545) | Borderou de evaluare (job #2436645)
Borderou de evaluare (job #2436645)
Raport evaluator
Compilare:
main.cpp: In function 'int32_t main()':
main.cpp:181:25: warning: array subscript has type 'char' [-Wchar-subscripts]
fav_size = max_dp[s[0]];
^
main.cpp:182:30: warning: array subscript has type 'char' [-Wchar-subscripts]
fav_char = fav_char_dp[s[0]];
^
main.cpp:183:9: warning: statement has no effect [-Wunused-value]
main.cpp:131:20:
#define debug(...) (__VA_ARGS__)
~~~~~~~~~~~~~
main.cpp:183:9:
debug(fav_size);
main.cpp:131:21: note: in definition of macro 'debug'
#define debug(...) (__VA_ARGS__)
^~~~~~~~~~~
main.cpp:184:28: warning: array subscript has type 'char' [-Wchar-subscripts]
if(fav_size + 1 > dp[s[0]][s.back()].size())
^
main.cpp:184:38: warning: array subscript has type 'char' [-Wchar-subscripts]
if(fav_size + 1 > dp[s[0]][s.back()].size())
^
main.cpp:184:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(fav_size + 1 > dp[s[0]][s.back()].size())
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:186:11: warning: array subscript has type 'char' [-Wchar-subscripts]
dp[s[0]][s.back()] = dp[fav_char][s[0]];
^
main.cpp:186:21: warning: array subscript has type 'char' [-Wchar-subscripts]
dp[s[0]][s.back()] = dp[fav_char][s[0]];
^
main.cpp:186:36: warning: array subscript has type 'char' [-Wchar-subscripts]
dp[s[0]][s.back()] = dp[fav_char][s[0]];
^
main.cpp:186:42: warning: array subscript has type 'char' [-Wchar-subscripts]
dp[s[0]][s.back()] = dp[fav_char][s[0]];
^
main.cpp:187:11: warning: array subscript has type 'char' [-Wchar-subscripts]
dp[s[0]][s.back()].emplace_back(s);
^
main.cpp:187:21: warning: array subscript has type 'char' [-Wchar-subscripts]
dp[s[0]][s.back()].emplace_back(s);
^
main.cpp:194:22: warning: array subscript has type 'char' [-Wchar-subscripts]
if(max_dp[s.back()] < fav_size + 1)
^
main.cpp:196:20: warning: array subscript has type 'char' [-Wchar-subscripts]
max_dp[s.back()] = fav_size + 1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 13ms | 2883kb | Corect | 10 |
2 | 6ms | 1835kb | Corect | 10 |
3 | 5ms | 1703kb | Corect | 10 |
4 | 5ms | 1703kb | Corect | 10 |
5 | 53ms | 5767kb | Time limit exceeded | 0 |
6 | 8ms | 1703kb | Corect | 10 |
7 | 5ms | 1703kb | Corect | 10 |
8 | 53ms | 2621kb | Time limit exceeded | 0 |
9 | 9ms | 2097kb | Corect | 10 |
10 | 19ms | 2228kb | Corect | 10 |
Punctaj total | 80 |