Borderou de evaluare (job #2135187)
Utilizator | Data | 18 februarie 2018 17:49:58 | |
---|---|---|---|
Problema | Armonica | 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:40:24: error: ‘n’ was not declared in this scope
for(int i=2;i<=n;i++)
^
user.cpp:56:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<solutie.size();i++)
^
user.cpp:11:17: warning: unused variable ‘a’ [-Wunused-variable]
long long b,a,c,p,q;
^
user.cpp:11:19: warning: unused variable ‘c’ [-Wunused-variable]
long long b,a,c,p,q;
^
user.cpp:13:16: warning: unused variable ‘pr’ [-Wunused-variable]
long long pr=1;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !