Pagini recente » Borderou de evaluare (job #1954673) | Borderou de evaluare (job #985855) | Borderou de evaluare (job #2186969) | Borderou de evaluare (job #8162) | Borderou de evaluare (job #950326)
Borderou de evaluare (job #950326)
Raport evaluator
Compilare:
user.cpp: In function ‘int conv(std::string)’:
user.cpp:15:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<s.size(); ++i) r=r*10+s[i]-'0';
^
user.cpp: In function ‘int main()’:
user.cpp:24:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<s.size(); ++i) rev[char((i+1)+'0')]=s[i];
^
user.cpp:24:54: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(int i=0; i<s.size(); ++i) rev[char((i+1)+'0')]=s[i];
^
user.cpp:27:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<s.size(); ++i) {
^
user.cpp:30:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(aux.size()) cv[aux[0]].insert(conv(aux));
^
user.cpp:34:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(aux.size()) cv[aux[0]].insert(conv(aux));
^
user.cpp:40:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<s.size(); ++j) s[j]=rev[s[j]];
^
user.cpp:40:52: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(int j=0; j<s.size(); ++j) s[j]=rev[s[j]];
^
user.cpp:41:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(cv[s[0]].find(conv(s))==cv[s[0]].end()) {
^
user.cpp:41:43: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(cv[s[0]].find(conv(s))==cv[s[0]].end()) {
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | OK | 10 |
2 | 4ms | 448kb | OK | 10 |
3 | 8ms | 480kb | OK | 10 |
4 | 28ms | 736kb | OK | 10 |
5 | 56ms | 1268kb | OK | 10 |
6 | 96ms | 1868kb | OK | 10 |
7 | 160ms | 3312kb | OK | 10 |
8 | 620ms | 10132kb | OK | 10 |
9 | Depăşit | 14456kb | Time limit exceeded. | 0 |
10 | Depăşit | 28736kb | Time limit exceeded. | 0 |
Punctaj total | 80 |