Pagini recente » Borderou de evaluare (job #3340743) | Cod sursa (job #1755092) | Borderou de evaluare (job #2090246) | Borderou de evaluare (job #3347220) | Borderou de evaluare (job #2990517)
Borderou de evaluare (job #2990517)
Raport evaluator
Compilare:
main.cpp: In function 'int sortCompare(std::string, std::string)':
main.cpp:18:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | for(int i = 0; i < a.length(); i ++){
| ~~^~~~~~~~~~~~
main.cpp: In function 'void printString(int)':
main.cpp:29:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | for(int i = 0; i < s[id].length(); i ++)
| ~~^~~~~~~~~~~~~~~~
main.cpp: In function 'void printStringDebug(int)':
main.cpp:34:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | for(int i = 0; i < s[id].length(); i ++)
| ~~^~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:75:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
75 | while(k < s[j].length() && l < s[i].length()){
| ~~^~~~~~~~~~~~~~~
main.cpp:75:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
75 | while(k < s[j].length() && l < s[i].length()){
| ~~^~~~~~~~~~~~~~~
main.cpp:81:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
81 | if(l == s[i].length())
| ~~^~~~~~~~~~~~~~~~
main.cpp:40:23: warning: unused variable 'x' [-Wunused-variable]
40 | int n, t, i, j, nr, x, k, l;
| ^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 184kb | OK. | 5 | 20 |
| 2 | 0ms | 184kb | OK. | 5 |
| 3 | 0ms | 184kb | OK. | 5 |
| 4 | 0ms | 184kb | OK. | 5 |
| 5 | 0ms | 184kb | Sir incorect. | 0 | 0 |
| 6 | 18ms | 577kb | Sir incorect. | 0 | 0 |
| 7 | 0ms | 184kb | Sir incorect. | 0 | 0 |
| 8 | 30ms | 577kb | Sir incorect. | 0 | 0 |
| 9 | 193ms | 2732kb | Sir incorect. | 0 | 0 |
| 10 | 88ms | 839kb | Sir incorect. | 0 | 0 |
| 11 | 149ms | 1753kb | Sir incorect. | 0 | 0 |
| 12 | 115ms | 1232kb | Sir incorect. | 0 | 0 |
| 13 | 133ms | 1318kb | Sir incorect. | 0 | 0 |
| 14 | 117ms | 1757kb | Sir incorect. | 0 | 0 |
| 15 | 73ms | 1363kb | Sir incorect. | 0 | 0 |
| 16 | 228ms | 1363kb | Sir incorect. | 0 | 0 |
| 17 | 138ms | 1351kb | Sir incorect. | 0 | 0 |
| 18 | 39ms | 1744kb | Sir incorect. | 0 | 0 |
| 19 | 48ms | 1810kb | Sir incorect. | 0 | 0 |
| 20 | 441ms | 1744kb | Sir incorect. | 0 | 0 |
| 21 | 461ms | 2600kb | Sir incorect. | 0 | 0 |
| 22 | 54ms | 1744kb | Sir incorect. | 0 | 0 |
| Punctaj total | 20 |