Pagini recente » Borderou de evaluare (job #1343205) | Borderou de evaluare (job #1209119) | Borderou de evaluare (job #2484767) | Borderou de evaluare (job #789471) | Borderou de evaluare (job #1921313)
Borderou de evaluare (job #1921313)
Raport evaluator
Compilare:
user.cpp: In function ‘int evaluare(char*)’:
user.cpp:72:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
int nr = (int) cod[s[i]];
^
user.cpp:62:8: warning: variable ‘top’ set but not used [-Wunused-but-set-variable]
char top;
^
user.cpp:63:7: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
int x;
^
user.cpp: In function ‘int main()’:
user.cpp:116:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f1[s1[j]] = true;
^
user.cpp:122:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f2[s2[j]] = true;
^
user.cpp:129:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (f1[ch] != f2[ch]) {
^
user.cpp:129:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (f1[ch] != f2[ch]) {
^
user.cpp:137:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cod[ch] = f1[ch] = f2[ch] = false;
^
user.cpp:137:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cod[ch] = f1[ch] = f2[ch] = false;
^
user.cpp:137:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cod[ch] = f1[ch] = f2[ch] = false;
^
user.cpp:149:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (isalpha (s1[j]) && !cod[s1[j]])
^
user.cpp:150:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cod[s1[j]] = v[++k];
^
user.cpp:165:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cod[ch] = f1[ch] = f2[ch] = false;
^
user.cpp:165:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cod[ch] = f1[ch] = f2[ch] = false;
^
user.cpp:165:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cod[ch] = f1[ch] = f2[ch] = false;
^
user.cpp: In function ‘int priority(char)’:
user.cpp:19:1: warning: control reaches end of non-void function [-Wreturn-type]
}
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 268kb | Time limit exceeded. | 0 |
2 | 4ms | 380kb | Killed by signal 6(SIGABRT). | 0 |
3 | Depăşit | 268kb | Time limit exceeded. | 0 |
4 | 4ms | 280kb | Incorect | 0 |
5 | 20ms | 280kb | OK | 10 |
6 | 0ms | 264kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 384kb | Killed by signal 6(SIGABRT). | 0 |
8 | 0ms | 276kb | Incorect | 0 |
9 | 0ms | 284kb | Incorect | 0 |
10 | 0ms | 384kb | Killed by signal 6(SIGABRT). | 0 |
Punctaj total | 10 |