Borderou de evaluare (job #2876971)

Utilizator Antonia_onisoruantonia onisoru Antonia_onisoru Data 23 martie 2022 22:47:38
Problema Bifo Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int calIndex(int&, std::string, std::string)': main.cpp:15:9: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 15 | if( n <= cuv1.size() ) | ~~^~~~~~~~~~~~~~ main.cpp:17:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 17 | else if( n <= cuv2.size() ) | ~~^~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:92:16: warning: unused variable 'n' [-Wunused-variable] 92 | int m, i, x, n, index; | ^ main.cpp: In function 'char findCharacter(int, int, std::string, std::string)': main.cpp:89:1: warning: control reaches end of non-void function [-Wreturn-type] 89 | } | ^ main.cpp: In function 'int calSize(int, std::string, std::string)': main.cpp:47:23: warning: 'size' may be used uninitialized in this function [-Wmaybe-uninitialized] 47 | int size1, size2, size; | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbIncorect0
22ms184kbIncorect0
32ms184kbIncorect0
42ms184kbIncorect0
52ms184kbIncorect0
6402ms200kbTime limit exceeded0
7403ms200kbTime limit exceeded0
8402ms200kbTime limit exceeded0
9402ms200kbTime limit exceeded0
102ms184kbIncorect0
Punctaj total0

Ceva nu functioneaza?