Borderou de evaluare (job #1433274)
Utilizator | Data | 9 mai 2015 15:11:33 | |
---|---|---|---|
Problema | Culori3 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘long long int adunare(long int*, long int*, long int*)’:
user.cpp:7:32: error: expected primary-expression before ‘int’
{for(int i=1;i<=a[0]||i<=b[0]||int t;i++,t/=10)
^
user.cpp:7:32: error: expected ‘;’ before ‘int’
user.cpp:7:32: error: expected primary-expression before ‘int’
user.cpp:7:32: error: expected ‘)’ before ‘int’
user.cpp:7:36: warning: unused variable ‘t’ [-Wunused-variable]
{for(int i=1;i<=a[0]||i<=b[0]||int t;i++,t/=10)
^
user.cpp:7:38: error: ‘i’ was not declared in this scope
{for(int i=1;i<=a[0]||i<=b[0]||int t;i++,t/=10)
^
user.cpp:7:42: error: ‘t’ was not declared in this scope
{for(int i=1;i<=a[0]||i<=b[0]||int t;i++,t/=10)
^
user.cpp:7:47: error: expected ‘;’ before ‘)’ token
{for(int i=1;i<=a[0]||i<=b[0]||int t;i++,t/=10)
^
user.cpp:12:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !