Borderou de evaluare (job #1805292)
Utilizator | Data | 13 noiembrie 2016 17:08:00 | |
---|---|---|---|
Problema | K Aparitii | Status | done |
Runda | Arhiva Monthly | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void sum(std::string)’:
user.cpp:12:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 32; i >= 32 - num.size() + 1; i--)
^
user.cpp: In function ‘int main()’:
user.cpp:38:30: error: expected ‘)’ before ‘;’ token
sum(to_string(base10to2(x));
^
user.cpp:45:6: error: redeclaration of ‘int x’
int x=0,p=1;
^
user.cpp:34:6: error: ‘int x’ previously declared here
int x;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !