Pagini recente »
Borderou de evaluare (job #418382)
|
Borderou de evaluare (job #532681)
|
Borderou de evaluare (job #370247)
|
Borderou de evaluare (job #157843)
|
Borderou de evaluare (job #614431)
Borderou de evaluare (job #614431)
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
|
2093 kb
|
Bravo!
|
10
|
2
|
1 ms
|
2228 kb
|
Bravo!
|
10
|
3
|
1 ms
|
2228 kb
|
Bravo!
|
10
|
4
|
9 ms
|
2486 kb
|
Bravo!
|
10
|
5
|
12 ms
|
2486 kb
|
Bravo!
|
10
|
6
|
18 ms
|
2490 kb
|
Bravo!
|
10
|
7
|
37 ms
|
2617 kb
|
Bravo!
|
10
|
8
|
54 ms
|
2748 kb
|
Bravo!
|
10
|
9
|
60 ms
|
2752 kb
|
Bravo!
|
10
|
10
|
68 ms
|
2613 kb
|
Bravo!
|
10
|
Punctaj total
|
100
|