Borderou de evaluare (job #1941595)

Utilizator FlorinHajaFlorin Gabriel Haja FlorinHaja Data 27 martie 2017 14:42:59
Problema Minerale Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:23:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[2]’ [-Wformat=] scanf("%c %s\n",&c,&s2); ^ user.cpp:42:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] for (j = 0; j < tf[d].size(); j++) ^ user.cpp:42:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < tf[d].size(); j++) ^ user.cpp:43:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] mat[i][i].push_back(tf[d][j]); ^ user.cpp:52:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (I = 0; I < mat[i][k].size(); I++) { ^ user.cpp:53:54: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (J = 0; J < mat[k+1][j].size(); J++) { ^ user.cpp:57:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] for (t = 0; t < cum[c][d].size(); t++) ^ user.cpp:57:49: warning: array subscript has type ‘char’ [-Wchar-subscripts] for (t = 0; t < cum[c][d].size(); t++) ^ user.cpp:57:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (t = 0; t < cum[c][d].size(); t++) ^ user.cpp:58:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (dd.find(cum[c][d][t])==dd.end()) { ^ user.cpp:58:49: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (dd.find(cum[c][d][t])==dd.end()) { ^ user.cpp:59:59: warning: array subscript has type ‘char’ [-Wchar-subscripts] mat[i][j].push_back( cum[c][d][t] ); ^ user.cpp:59:62: warning: array subscript has type ‘char’ [-Wchar-subscripts] mat[i][j].push_back( cum[c][d][t] ); ^ user.cpp:60:48: warning: array subscript has type ‘char’ [-Wchar-subscripts] dd.insert(cum[c][d][t]); ^ user.cpp:60:51: warning: array subscript has type ‘char’ [-Wchar-subscripts] dd.insert(cum[c][d][t]); ^ user.cpp:75:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < mat[1][n].size()&&ok; i++) { ^ user.cpp:18:37: 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
10ms412kbIncorect0
20ms408kbIncorect0
30ms416kbIncorect0
40ms408kbIncorect0
54ms412kbIncorect0
616ms416kbIncorect0
78ms408kbIncorect0
852ms412kbIncorect0
9144ms484kbIncorect0
10436ms488kbIncorect0
Punctaj total0

Ceva nu functioneaza?