Pagini recente »
Borderou de evaluare (job #737439)
|
Borderou de evaluare (job #213128)
|
Borderou de evaluare (job #444657)
|
Borderou de evaluare (job #326336)
|
Borderou de evaluare (job #580218)
Borderou de evaluare (job #580218)
Raport evaluator
Compilare:
main.cpp: In function 'std::string commonLetters(std::string, std::string)':
main.cpp:19:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
19 | for(int i = 0;i < a.size();i++){
| ~~^~~~~~~~~~
main.cpp:22:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
22 | for(int i = 0;i < b.size();i++){
| ~~^~~~~~~~~~
main.cpp:29:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
29 | for(int i = 0;i < a.size();i++){
| ~~^~~~~~~~~~
main.cpp:33:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
33 | }else if(freq[a[i]] != 2 && a[i] == '0' && i == a.size() - 1){
| ~~^~~~~~~~~~~~~~~
main.cpp:38:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
38 | for(int i = 0;i < b.size();i++){
| ~~^~~~~~~~~~
main.cpp:42:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
42 | }else if(freq[b[i]] != 2 && b[i] == '0' && i == b.size() - 1){
| ~~^~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:62:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
62 | for(int j = 0;j < v[i].size();j++){
| ~~^~~~~~~~~~~~~
main.cpp:63:24: warning: array subscript has type 'char' [-Wchar-subscripts]
63 | alphaFreq[v[i][j]]++;
| ^
main.cpp:64:20: warning: array subscript has type 'char' [-Wchar-subscripts]
64 | if(alphaFreq[ans] < alphaFreq[v[i][j]]){
| ^~~
main.cpp:64:44: warning: array subscript has type 'char' [-Wchar-subscripts]
64 | if(alphaFreq[ans] < alphaFreq[v[i][j]]){
| ^
main.cpp:66:26: warning: array subscript has type 'char' [-Wchar-subscripts]
66 | }else if(alphaFreq[ans] == alphaFreq[v[i][j]]){
| ^~~
main.cpp:66:51: warning: array subscript has type 'char' [-Wchar-subscripts]
66 | }else if(alphaFreq[ans] == alphaFreq[v[i][j]]){
| ^
main.cpp:71:8: warning: unused variable 'oper' [-Wunused-variable]
71 | bool oper = false;
| ^~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
262 kb
|
a) corect b) incorect
|
1
|
2
|
1 ms
|
262 kb
|
a) corect b) incorect
|
1
|
3
|
12 ms
|
520 kb
|
a) corect b) incorect
|
1
|
4
|
33 ms
|
520 kb
|
a) corect b) incorect
|
1
|
5
|
135 ms
|
2064 kb
|
Memory limit exceeded
|
0
|
6
|
210 ms
|
2064 kb
|
Memory limit exceeded
|
0
|
7
|
138 ms
|
2064 kb
|
Memory limit exceeded
|
0
|
8
|
212 ms
|
2064 kb
|
Memory limit exceeded
|
0
|
9
|
204 ms
|
2064 kb
|
Memory limit exceeded
|
0
|
10
|
1 ms
|
262 kb
|
a) corect b) incorect
|
1
|
Punctaj total
|
5
|