Borderou de evaluare (job #1091395)

Utilizator kiralalaChitoraga Dumitru kiralala Data 25 ianuarie 2014 17:37:54
Problema Evaluarea unei expresii Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void ToPolish()’: user.cpp:28:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] pol[ind++]=' '; ^ user.cpp:31:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] pol[ind]=op.top(); ^ user.cpp:39:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] pol[ind++]=' '; ^ user.cpp:42:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] pol[ind]=op.top(); ^ user.cpp:56:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] pol[ind]=' '; ^ user.cpp:63:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] pol[ind++]=c; ^ user.cpp:67:54: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(!op.empty()) { pol[ind+1]=op.top(); pol[ind]=' '; ind+=2; op.pop(); } ^ user.cpp: In function ‘void Number(char*)’: user.cpp:86:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<strlen(c);++i) ^ /tmp/ccdDKR5x.o: In function `main': user.cpp:(.text.startup+0x11): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms232kbOK10
20ms232kbOK10
30ms236kbOK10
40ms232kbKilled by signal 11(SIGSEGV).0
50ms236kbKilled by signal 11(SIGSEGV).0
60ms232kbKilled by signal 11(SIGSEGV).0
70ms232kbKilled by signal 11(SIGSEGV).0
80ms232kbKilled by signal 11(SIGSEGV).0
94ms284kbKilled by signal 11(SIGSEGV).0
104ms284kbKilled by signal 11(SIGSEGV).0
Punctaj total30

Ceva nu functioneaza?