Pagini recente » Borderou de evaluare (job #2951633) | Borderou de evaluare (job #1319866) | Borderou de evaluare (job #1166590) | Borderou de evaluare (job #3121648) | Borderou de evaluare (job #1921121)
Borderou de evaluare (job #1921121)
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: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]
}
^
user.cpp: In function ‘int main()’:
user.cpp:100:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 256kb | Time limit exceeded. | 0 |
2 | 4ms | 376kb | Killed by signal 6(SIGABRT). | 0 |
3 | Depăşit | 260kb | Time limit exceeded. | 0 |
4 | 0ms | 268kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 272kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 260kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 260kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 272kb | Incorect | 0 |
9 | 0ms | 268kb | Incorect | 0 |
10 | 0ms | 264kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |