Pagini recente »
Borderou de evaluare (job #197455)
|
Borderou de evaluare (job #348139)
|
Borderou de evaluare (job #167481)
|
Borderou de evaluare (job #175385)
|
Borderou de evaluare (job #614430)
Borderou de evaluare (job #614430)
Raport evaluator
Compilare:
main.cpp: In function 'bool compStr(std::string, std::string)':
main.cpp:48:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
48 | while(ok == 1 && i < word1.length() && i < word2.length()){
| ~~^~~~~~~~~~~~~~~~
main.cpp:48:44: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
48 | while(ok == 1 && i < word1.length() && i < word2.length()){
| ~~^~~~~~~~~~~~~~~~
main.cpp:54:9: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
54 | if( i != word1.length() || i != word1.length() )
| ~~^~~~~~~~~~~~~~~~~
main.cpp:54:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
54 | if( i != word1.length() || i != word1.length() )
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'void addWord(std::string, std::string&)':
main.cpp:63:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
63 | while( i < str.length()){
| ~~^~~~~~~~~~~~~~
main.cpp: In function 'void add(std::string, std::string)':
main.cpp:75:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare]
75 | while( i < indexHashList[code].size() && compStr(word, dictionary[indexHashList[code][i]].word) == 0 ){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:79:9: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare]
79 | if( i == indexHashList[code].size() ){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void translateWord(std::string)':
main.cpp:93:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare]
93 | while( i < indexHashList[code].size() && compStr(word, dictionary[indexHashList[code][i]].word ) == 0){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:97:9: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare]
97 | if( i != indexHashList[code].size() ){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:107:11: warning: unused variable 'k' [-Wunused-variable]
107 | int i, k, n;
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
2228 kb
|
Ai gresit traducerea!
|
2
|
2
|
1 ms
|
2093 kb
|
Ai gresit traducerea!
|
2
|
3
|
1 ms
|
2097 kb
|
Ai gresit traducerea!
|
2
|
4
|
1 ms
|
2224 kb
|
Ai gresit traducerea!
|
2
|
5
|
11 ms
|
2486 kb
|
Ai gresit traducerea!
|
2
|
6
|
22 ms
|
2490 kb
|
Ai gresit traducerea!
|
2
|
7
|
35 ms
|
2621 kb
|
Ai gresit traducerea!
|
2
|
8
|
56 ms
|
2879 kb
|
Ai gresit traducerea!
|
2
|
9
|
64 ms
|
2744 kb
|
Ai gresit traducerea!
|
2
|
10
|
56 ms
|
2752 kb
|
Ai gresit traducerea!
|
2
|
Punctaj total
|
20
|