Borderou de evaluare (job #2411445)

Utilizator Tiberiu02Tiberiu Musat Tiberiu02 Data 20 aprilie 2019 19:20:14
Problema Movedel Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 90

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
12ms131kbPerfect10
22ms131kbPerfect10
32ms131kbPerfect10
43ms131kbPerfect10
53ms131kbPerfect10
63ms131kbPerfect10
78ms131kbPerfect10
843ms131kbPerfect10
960ms131kbPerfect10
10101ms131kbTime limit exceeded0
Punctaj total90

Ceva nu functioneaza?