Pagini recente » Borderou de evaluare (job #3142063) | Borderou de evaluare (job #2434525) | Borderou de evaluare (job #2979552) | Borderou de evaluare (job #2312709) | Borderou de evaluare (job #2411445)
Borderou de evaluare (job #2411445)
Raport evaluator
Compilare:
main.cpp: In function 'void mov(std::__cxx11::string&, int)':
main.cpp:12:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = k; i < a0.size(); i++)
~~^~~~~~~~~~~
main.cpp: In function 'void del(std::__cxx11::string&, std::__cxx11::string&)':
main.cpp:21:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < a.size(); i++)
~~^~~~~~~~~~
main.cpp:27:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (a.size() > j) {
~~~~~~~~~^~~
main.cpp: In function 'bool common(std::__cxx11::string, std::__cxx11::string)':
main.cpp:35:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < a.size(); i++) {
~~^~~~~~~~~~
main.cpp:36:16: warning: array subscript has type 'char' [-Wchar-subscripts]
fa[a[i]] = 1;
^
main.cpp:37:16: warning: array subscript has type 'char' [-Wchar-subscripts]
fb[b[i]] = 1;
^
main.cpp: In function 'void rep_common(std::__cxx11::string&, std::__cxx11::string&)':
main.cpp:47:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < a.size(); i++) {
~~^~~~~~~~~~
main.cpp:48:16: warning: array subscript has type 'char' [-Wchar-subscripts]
fa[a[i]] = 1;
^
main.cpp:49:16: warning: array subscript has type 'char' [-Wchar-subscripts]
fb[b[i]] = 1;
^
main.cpp:51:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < a.size(); i++) {
~~^~~~~~~~~~
main.cpp:52:21: warning: array subscript has type 'char' [-Wchar-subscripts]
if (!fb[a[i]]) a[i] = '.';
^
main.cpp:53:21: warning: array subscript has type 'char' [-Wchar-subscripts]
if (!fa[b[i]]) b[i] = '.';
^
main.cpp: In function 'int main()':
main.cpp:91:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("movedel.in", "r", stdin);
^
main.cpp:92:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("movedel.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Perfect | 10 |
2 | 2ms | 131kb | Perfect | 10 |
3 | 2ms | 131kb | Perfect | 10 |
4 | 3ms | 131kb | Perfect | 10 |
5 | 3ms | 131kb | Perfect | 10 |
6 | 3ms | 131kb | Perfect | 10 |
7 | 8ms | 131kb | Perfect | 10 |
8 | 43ms | 131kb | Perfect | 10 |
9 | 60ms | 131kb | Perfect | 10 |
10 | 101ms | 131kb | Time limit exceeded | 0 |
Punctaj total | 90 |