Borderou de evaluare (job #3295567)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:37:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | for (int j=0; j<s.size(); j++)
| ~^~~~~~~~~
main.cpp:52:7: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
52 | memset(vf,0,205);
| ~~~~~~^~~~~~~~~~
main.cpp:57:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
57 | for (i=m+1;i<=n+m;i++)if (!st[i])ok=1;if (ok)g<<0;else for (i=m+1;i<=n+m;i++)g<<st[i]<<'\n';}
| ^~~
main.cpp:57:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
57 | for (i=m+1;i<=n+m;i++)if (!st[i])ok=1;if (ok)g<<0;else for (i=m+1;i<=n+m;i++)g<<st[i]<<'\n';}
| ^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | S-a respectat legea! | 10 |
2 | 0ms | 303kb | S-a respectat legea! | 10 |
3 | 0ms | 303kb | S-a respectat legea! | 10 |
4 | 0ms | 303kb | Incorect! | 0 |
5 | 0ms | 303kb | Incorect! | 0 |
6 | 0ms | 303kb | Incorect! | 0 |
7 | 0ms | 303kb | Incorect! | 0 |
8 | 0ms | 303kb | Incorect! | 0 |
9 | 0ms | 303kb | S-a respectat legea! | 10 |
10 | 0ms | 303kb | S-a respectat legea! | 10 |
Punctaj total | 50 |