Borderou de evaluare (job #2176009)
Utilizator | Data | 16 martie 2018 20:23:53 | |
---|---|---|---|
Problema | Geometry | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:19: error: two or more data types in declaration of ‘N’
long long int int N,i,j,Puncte[4][505],Dreapta[3][505],Val1,Val2,Val3,Val4,Raspuns;
^
user.cpp:5:21: error: two or more data types in declaration of ‘i’
long long int int N,i,j,Puncte[4][505],Dreapta[3][505],Val1,Val2,Val3,Val4,Raspuns;
^
user.cpp:5:23: error: two or more data types in declaration of ‘j’
long long int int N,i,j,Puncte[4][505],Dreapta[3][505],Val1,Val2,Val3,Val4,Raspuns;
^
user.cpp:5:38: error: two or more data types in declaration of ‘Puncte’
long long int int N,i,j,Puncte[4][505],Dreapta[3][505],Val1,Val2,Val3,Val4,Raspuns;
^
user.cpp:5:54: error: two or more data types in declaration of ‘Dreapta’
long long int int N,i,j,Puncte[4][505],Dreapta[3][505],Val1,Val2,Val3,Val4,Raspuns;
^
user.cpp:5:56: error: two or more data types in declaration of ‘Val1’
long long int int N,i,j,Puncte[4][505],Dreapta[3][505],Val1,Val2,Val3,Val4,Raspuns;
^
user.cpp:5:61: error: two or more data types in declaration of ‘Val2’
long long int int N,i,j,Puncte[4][505],Dreapta[3][505],Val1,Val2,Val3,Val4,Raspuns;
^
user.cpp:5:66: error: two or more data types in declaration of ‘Val3’
long long int int N,i,j,Puncte[4][505],Dreapta[3][505],Val1,Val2,Val3,Val4,Raspuns;
^
user.cpp:5:71: error: two or more data types in declaration of ‘Val4’
long long int int N,i,j,Puncte[4][505],Dreapta[3][505],Val1,Val2,Val3,Val4,Raspuns;
^
user.cpp:5:76: error: two or more data types in declaration of ‘Raspuns’
long long int int N,i,j,Puncte[4][505],Dreapta[3][505],Val1,Val2,Val3,Val4,Raspuns;
^
user.cpp: In function ‘int main()’:
user.cpp:13:10: error: ‘N’ was not declared in this scope
fin>>N;
^
user.cpp:14:9: error: ‘i’ was not declared in this scope
for(i=1;i<=N;++i)
^
user.cpp:16:14: error: ‘Puncte’ was not declared in this scope
fin>>Puncte[0][i]>>Puncte[1][i]>>Puncte[2][i]>>Puncte[3][i];
^
user.cpp:17:9: error: ‘Dreapta’ was not declared in this scope
Dreapta[0][i]=Puncte[3][i]-Puncte[1][i];
^
user.cpp:21:9: error: ‘i’ was not declared in this scope
for(i=1;i<=N;++i)
^
user.cpp:22:13: error: ‘j’ was not declared in this scope
for(j=i+1;j<=N;++j)
^
user.cpp:24:13: error: ‘Val1’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !