Borderou de evaluare (job #1842902)

Utilizator pibogaBogdan piboga Data 7 ianuarie 2017 19:09:45
Problema Apel Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘void tr(char)’: user.cpp:46:41: warning: operation on ‘vg’ may be undefined [-Wsequence-point] if(op=='+') {t[vg-1]=t[vg-1]+t[vg--];}else ^ user.cpp:46:41: warning: operation on ‘vg’ may be undefined [-Wsequence-point] user.cpp:47:41: warning: operation on ‘vg’ may be undefined [-Wsequence-point] if(op=='-') {t[vg-1]=t[vg-1]-t[vg--];}else ^ user.cpp:47:41: warning: operation on ‘vg’ may be undefined [-Wsequence-point] user.cpp:50:36: warning: operation on ‘vg’ may be undefined [-Wsequence-point] t[vg-1]=t[vg-1]*t[vg--]; ^ user.cpp:50:36: warning: operation on ‘vg’ may be undefined [-Wsequence-point] user.cpp:54:41: warning: operation on ‘vg’ may be undefined [-Wsequence-point] if(op=='/') {t[vg-1]=t[vg-1]/t[vg--];} ^ user.cpp:54:41: warning: operation on ‘vg’ may be undefined [-Wsequence-point] user.cpp: In function ‘int mdf(int)’: user.cpp:63:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int rez(int)’: user.cpp:125:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (vlr[k]>vlr[op]) ^ user.cpp:125:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (vlr[k]>vlr[op]) ^ user.cpp:150:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] y=v[k]; ^ user.cpp:70:25: warning: variable ‘I’ set but not used [-Wunused-but-set-variable] int A,B,C,D,E,F,G,H,I,J; ^ user.cpp: In function ‘int main()’: user.cpp:222:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] v[k]=x; ^ user.cpp:240:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] strcpy(a[k]+1,xp+pz); ^ user.cpp:241:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] n=strlen(a[k]+1); ^ user.cpp:242:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] a[k][0]='('; ^ user.cpp:243:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] a[k][n+1]=')'; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbOK10
20ms276kbOK10
30ms280kbOK10
40ms284kbIncorect0
50ms280kbOK10
60ms276kbOK10
70ms280kbOK10
80ms256kbKilled by signal 8(SIGFPE).0
90ms276kbOK10
100ms280kbOK10
Punctaj total80

Ceva nu functioneaza?