Pagini recente » Borderou de evaluare (job #2041674) | Borderou de evaluare (job #148056) | Borderou de evaluare (job #1854574) | Borderou de evaluare (job #608296) | Borderou de evaluare (job #1429031)
Borderou de evaluare (job #1429031)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < s1.size(); i++)
^
user.cpp:41:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
positions[s1[i]].push(i);
^
user.cpp:46:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < s2.size(); i++) {
^
user.cpp:49:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (positions[ch].empty()) {
^
user.cpp:54:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
int position = positions[ch].front();
^
user.cpp:55:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
positions[ch].pop();
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 604kb | OK | 10 |
2 | 0ms | 596kb | OK | 10 |
3 | 0ms | 624kb | OK | 10 |
4 | 0ms | 616kb | OK | 10 |
5 | 4ms | 748kb | OK | 10 |
6 | 4ms | 1064kb | OK | 10 |
7 | 4ms | 1056kb | OK | 10 |
8 | 4ms | 1064kb | OK | 10 |
9 | 4ms | 1060kb | OK | 10 |
10 | 4ms | 1056kb | OK | 10 |
Punctaj total | 100 |