Borderou de evaluare (job #2989831)
Utilizator | Data | 7 martie 2023 03:44:55 | |
---|---|---|---|
Problema | Emacs | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:37:13: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
37 | while(1<< k <= lungime){
| ~~~~~~^~~~~~~~~~
main.cpp:49:13: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
49 | while(1<< k <= lungime){
| ~~~~~~^~~~~~~~~~
main.cpp:56:1: error: 'otal' was not declared in this scope; did you mean 'total'?
56 | otal = total % mod;
| ^~~~
| total
main.cpp:62:34: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
62 | while(S.empty() == false && x>S.top().first){
| ~^~~~~~~~~~~~~~
main.cpp:73:35: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
73 | while(S.empty() == false && x > S.top().first){
| ~~^~~~~~~~~~~~~~~
main.cpp:90:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
90 | if(total > mod)
| ^~
main.cpp:92:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
92 | st2[j] = 0;
| ^~~
main.cpp:105:34: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
105 | while(S.empty() == false && x>S.top().first){
| ~^~~~~~~~~~~~~~
main.cpp:116:35: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
116 | while(S.empty() == false && x > S.top().first){
| ~~^~~~~~~~~~~~~~~
main.cpp:147:13: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
147 | while(1<< k <= lungime){
| ~~~~~~^~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !