Borderou de evaluare (job #2448203)
Utilizator | Data | 16 august 2019 10:10:58 | |
---|---|---|---|
Problema | Ksecv3 | 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:16:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1;i <= n;i++){
~~^~~~
main.cpp:18:9: error: 'sum' was not declared in this scope
sum += v[i];
^~~
main.cpp:21:8: error: 'sum' was not declared in this scope
if(sum % k != 0){
^~~
main.cpp:26:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1;i <= n;i++){
~~^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !