Pagini recente » Borderou de evaluare (job #2904463) | Borderou de evaluare (job #2910047) | Borderou de evaluare (job #1456895) | Borderou de evaluare (job #1126645) | Borderou de evaluare (job #1922673)
Borderou de evaluare (job #1922673)
Raport evaluator
Compilare:
user.cpp: In function ‘int evaluare(char*)’:
user.cpp:77:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
int nr = cod[s[i]];
^
user.cpp: In function ‘int main()’:
user.cpp:118:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (isalpha (s1[j]) && !f1[s1[j]]) {
^
user.cpp:119:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f1[s1[j]] = true;
^
user.cpp:124:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (isalpha (s2[j]) && !f2[s2[j]]) {
^
user.cpp:125:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f2[s2[j]] = true;
^
user.cpp:132:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (f1[ch] != f2[ch]) {
^
user.cpp:132:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (f1[ch] != f2[ch]) {
^
user.cpp:140:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cod[ch] = f1[ch] = f2[ch] = false;
^
user.cpp:140:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cod[ch] = f1[ch] = f2[ch] = false;
^
user.cpp:140:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cod[ch] = f1[ch] = f2[ch] = false;
^
user.cpp:152:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (isalpha (s1[j]) && !cod[s1[j]])
^
user.cpp:153:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cod[s1[j]] = v[++k];
^
user.cpp:167:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cod[ch] = f1[ch] = f2[ch] = 0;
^
user.cpp:167:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cod[ch] = f1[ch] = f2[ch] = 0;
^
user.cpp:167:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cod[ch] = f1[ch] = f2[ch] = 0;
^
user.cpp:172:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cod[ch] = f1[ch] = f2[ch] = 0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 244kb | OK | 10 |
2 | 0ms | 252kb | OK | 10 |
3 | 0ms | 252kb | OK | 10 |
4 | 0ms | 252kb | OK | 10 |
5 | 8ms | 244kb | OK | 10 |
6 | 0ms | 248kb | Incorect | 0 |
7 | 0ms | 248kb | OK | 10 |
8 | 0ms | 252kb | OK | 10 |
9 | 0ms | 252kb | OK | 10 |
10 | 0ms | 248kb | OK | 10 |
Punctaj total | 90 |