Borderou de evaluare (job #2075979)
| Utilizator | Data | 25 noiembrie 2017 21:47:32 | |
|---|---|---|---|
| Problema | Cifre 5 | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i<n.length(); i++)
^
user.cpp:26:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i<n.length(); i++)
^
user.cpp:29:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = i+1; j<n.length(); j++)
^
user.cpp:33:16: error: ‘sum’ was not declared in this scope
out << sum;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
