Borderou de evaluare (job #1280731)
Utilizator | Data | 2 decembrie 2014 12:55:36 | |
---|---|---|---|
Problema | Triunghi2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:17:11: error: conflicting declaration ‘long long int a’
long long a,a1,a2,a3;
^
user.cpp:16:5: error: ‘a’ has a previous declaration as ‘int a [70][7]’
int a[70][7];
^
user.cpp: In function ‘int main()’:
user.cpp:20:9: error: ‘i’ was not declared in this scope
for(i=1; i <= n ; i++){
^
user.cpp:24:11: error: incompatible types in assignment of ‘int’ to ‘int [70][7]’
a = aria(x1,y1,x2,y2,x3,y3);
^
user.cpp:30:5: error: ‘nr’ was not declared in this scope
nr = 0;
^
user.cpp:31:9: error: ‘i’ was not declared in this scope
for(i=1; i<=n ; i++){
^
user.cpp:35:11: error: incompatible types in assignment of ‘int’ to ‘int [70][7]’
a = aria(x1,y1,x2,y2,x3,y3);
^
user.cpp:39:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(a1+a2+a3==a){
^
user.cpp:45:9: error: ‘i’ was not declared in this scope
for(i=1;i<=nr;i++)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !