Pagini recente » Borderou de evaluare (job #841998) | Borderou de evaluare (job #2513330) | Borderou de evaluare (job #1202049) | Borderou de evaluare (job #1804903) | Borderou de evaluare (job #1941595)
Borderou de evaluare (job #1941595)
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 |
1 | 0ms | 412kb | Incorect | 0 |
2 | 0ms | 408kb | Incorect | 0 |
3 | 0ms | 416kb | Incorect | 0 |
4 | 0ms | 408kb | Incorect | 0 |
5 | 4ms | 412kb | Incorect | 0 |
6 | 16ms | 416kb | Incorect | 0 |
7 | 8ms | 408kb | Incorect | 0 |
8 | 52ms | 412kb | Incorect | 0 |
9 | 144ms | 484kb | Incorect | 0 |
10 | 436ms | 488kb | Incorect | 0 |
Punctaj total | 0 |