Borderou de evaluare (job #1921121)

Utilizator MoodyFaresFares Mohamad MoodyFares Data 10 martie 2017 11:27:02
Problema Logic Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

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
1Depăşit256kbTime limit exceeded.0
24ms376kbKilled by signal 6(SIGABRT).0
3Depăşit260kbTime limit exceeded.0
40ms268kbKilled by signal 11(SIGSEGV).0
50ms272kbKilled by signal 11(SIGSEGV).0
60ms260kbKilled by signal 11(SIGSEGV).0
70ms260kbKilled by signal 11(SIGSEGV).0
80ms272kbIncorect0
90ms268kbIncorect0
100ms264kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?