Borderou de evaluare (job #3275161)
Utilizator | Data | 9 februarie 2025 13:20:29 | |
---|---|---|---|
Problema | Paritate | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:91:1: warning: integer constant is too large for its type
91 | 0110010100001010011010100110111101101001
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:15:5: error: conflicting declaration 'int nr []'
15 | int nr[]={1,2,4,8,16,32,64,128};
| ^~
main.cpp:12:11: note: previous declaration as 'long long int nr'
12 | long long nr=0;
| ^~
main.cpp: In function 'int main()':
main.cpp:21:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | for(int i=0;i<s.length();i+=8)
| ~^~~~~~~~~~~
main.cpp:29:17: error: 'c1' was not declared in this scope
29 | c1++;
| ^~
main.cpp:32:17: error: 'space' was not declared in this scope; did you mean 'isspace'?
32 | if(vol==space)
| ^~~~~
| isspace
main.cpp:36:12: error: 'c1' was not declared in this scope
36 | if(c1%2!=s[i] )
| ^~
main.cpp:49:21: error: 're' was not declared in this scope; did you mean 'rez'?
49 | re+=nr[cnt];
| ^~
| rez
main.cpp:49:27: error: invalid types 'long long int[int]' for array subscript
49 | re+=nr[cnt];
| ^
main.cpp:53:25: error: 're' was not declared in this scope; did you mean 'rez'?
53 | r.push_back(re);
| ^~
| rez
main.cpp:60:12: error: 'class std::vector<int>' has no member named 'length'
60 | if(rez.length()>1)
| ^~~~~~
main.cpp:63:27: error: 'class std::vector<int>' has no member named 'length'
63 | for(int i=0;i<rez.length();i++)
| ^~~~~~
main.cpp:71:25: error: 'class std::vector<int>' has no member named 'length'
71 | for(int i=0;i<r.length();i++)
| ^~~~~~
main.cpp: At global scope:
main.cpp:87:1: error: expected unqualified-id before numeric constant
87 | 01000001
| ^~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !