Borderou de evaluare (job #980664)

Utilizator thewildnathNathan Wildenberg thewildnath Data 5 august 2013 13:32:36
Problema Dir Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘void nou(int)’: user.cpp:17:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] t[f]=x; ^ user.cpp:18:14: warning: array subscript has type ‘char’ [-Wchar-subscripts] fis[f][0]=nr; ^ user.cpp:20:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] fis[f][i]=aux[i]; ^ user.cpp:24:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] T[F]=x; ^ user.cpp:25:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] FOLD[F][0]=nr; ^ user.cpp:27:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] FOLD[F][i]=aux[i]; ^ user.cpp: In function ‘void afis(int)’: user.cpp:78:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] cale[c][l+j]=FOLD[i][j]; ^ user.cpp:80:11: warning: array subscript has type ‘char’ [-Wchar-subscripts] cale[c][l]=92; ^ user.cpp: In function ‘int main()’: user.cpp:100:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1605]’ [-Wformat=] scanf("%s",&v); ^ user.cpp:112:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] cale[c][l+j]=fis[i][j]; ^ user.cpp:114:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] cale[ord[i]][0]=l; ^ user.cpp:121:31: warning: array subscript has type ‘char’ [-Wchar-subscripts] for(j=1;j<=cale[ord[i]][0];++j) ^ user.cpp:122:36: warning: array subscript has type ‘char’ [-Wchar-subscripts] printf("%c",cale[ord[i]][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms236kbOK10
20ms236kbOK10
30ms236kbOK10
40ms236kbOK10
50ms240kbOK10
60ms240kbOK10
70ms244kbOK10
80ms244kbOK10
94ms236kbKilled by signal 11(SIGSEGV).0
100ms236kbOK10
Punctaj total90

Ceva nu functioneaza?