Borderou de evaluare (job #965168)

Utilizator vladvlad00Vlad Teodorescu vladvlad00 Data 23 iunie 2013 16:46:25
Problema Evaluarea unei expresii Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int rezolvaExp(char*)’: user.cpp:38:10: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] elem[0] = NULL; ^ user.cpp:45:17: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] elem[lgElem] = NULL; ^ user.cpp:58:73: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if (sir[i] == '+' || sir[i] == '-' || sir[i] == '*' || sir[i] == '/' && rez.size() >= 2) ^ user.cpp: In function ‘char* convToPostFix(char*)’: user.cpp:82:10: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] elem[0] = NULL; ^ user.cpp:83:9: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] rez[0] = NULL; ^ user.cpp:90:17: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] elem[lgElem] = NULL; ^ user.cpp:127:18: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] rez[lgRez] = NULL; ^ user.cpp:141:18: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] rez[lgRez] = NULL; ^ user.cpp:176:14: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] rez[lgRez] = NULL; ^ user.cpp:79:21: warning: address of local variable ‘rez’ returned [-Wreturn-local-addr] char elem[LGElem], rez[NMax], c; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms356kbKilled by signal 11(SIGSEGV).0
20ms356kbKilled by signal 11(SIGSEGV).0
30ms360kbKilled by signal 11(SIGSEGV).0
40ms352kbKilled by signal 11(SIGSEGV).0
50ms352kbKilled by signal 11(SIGSEGV).0
60ms356kbKilled by signal 11(SIGSEGV).0
74ms368kbKilled by signal 11(SIGSEGV).0
88ms376kbKilled by signal 11(SIGSEGV).0
9Depăşit492kbTime limit exceeded.0
10Depăşit484kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?