Borderou de evaluare (job #2206779)
| Utilizator | Data | 23 mai 2018 19:49:20 | |
|---|---|---|---|
| Problema | SumDiv2 | 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:20:23: error: ‘sum’ was not declared in this scope
if(i%j) sum+=j;
^~~
user.cpp:21:19: error: ‘sum’ was not declared in this scope
Div[i]=sum;
^~~
user.cpp:18:21: warning: unused variable ‘longsum’ [-Wunused-variable]
long longsum=B-A+1;
^~~~~~~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
