Borderou de evaluare (job #1921617)
Raport evaluator
Compilare:
user.cpp: In function ‘int evaluare(char*)’:
user.cpp:73:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
int nr = cod[s[i]];
^
user.cpp:63:8: warning: variable ‘top’ set but not used [-Wunused-but-set-variable]
char top;
^
user.cpp:64:7: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
int x;
^
user.cpp: In function ‘int main()’:
user.cpp:117:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f1[s1[j]] = true;
^
user.cpp:123:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f2[s2[j]] = true;
^
user.cpp:130:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (f1[ch] != f2[ch]) {
^
user.cpp:130:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (f1[ch] != f2[ch]) {
^
user.cpp:138:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cod[ch] = f1[ch] = f2[ch] = false;
^
user.cpp:138:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cod[ch] = f1[ch] = f2[ch] = false;
^
user.cpp:138:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cod[ch] = f1[ch] = f2[ch] = false;
^
user.cpp:150:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (isalpha (s1[j]) && !cod[s1[j]])
^
user.cpp:151:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cod[s1[j]] = v[++k];
^
user.cpp:165:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cod[ch] = f1[ch] = f2[ch] = false;
^
user.cpp:165:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cod[ch] = f1[ch] = f2[ch] = false;
^
user.cpp:165:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cod[ch] = f1[ch] = f2[ch] = false;
^
user.cpp:170:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cod[ch] = f1[ch] = f2[ch] = false;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 268kb | Time limit exceeded. | 0 |
2 | 0ms | 280kb | OK | 10 |
3 | Depăşit | 268kb | Time limit exceeded. | 0 |
4 | 0ms | 280kb | OK | 10 |
5 | 20ms | 280kb | OK | 10 |
6 | 0ms | 268kb | Killed by signal 11(SIGSEGV). | 0 |
7 | Depăşit | 276kb | Time limit exceeded. | 0 |
8 | 0ms | 280kb | OK | 10 |
9 | 0ms | 276kb | OK | 10 |
10 | Depăşit | 272kb | Time limit exceeded. | 0 |
Punctaj total | 50 |