Pagini recente » Borderou de evaluare (job #759920) | Borderou de evaluare (job #975358) | Borderou de evaluare (job #681309) | Borderou de evaluare (job #1114024) | Borderou de evaluare (job #1282015)
Borderou de evaluare (job #1282015)
Raport evaluator
Compilare:
user.cpp: In function ‘std::string Normalize(std::string)’:
user.cpp:24:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<str.size();++i)
^
user.cpp:26:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(buffer[str[i]]==0)
^
user.cpp:28:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
buffer[str[i]]='a'+index;
^
user.cpp:31:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
str[i]=buffer[str[i]];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 432kb | OK | 10 |
2 | 0ms | 440kb | OK | 10 |
3 | 0ms | 444kb | OK | 10 |
4 | 28ms | 1124kb | OK | 10 |
5 | 60ms | 1808kb | OK | 10 |
6 | 56ms | 1808kb | OK | 10 |
7 | 60ms | 1812kb | OK | 10 |
8 | 56ms | 1812kb | OK | 10 |
9 | 60ms | 1816kb | OK | 10 |
10 | 56ms | 1808kb | OK | 10 |
Punctaj total | 100 |