Borderou de evaluare (job #2177430)
Utilizator | Data | 18 martie 2018 16:29:58 | |
---|---|---|---|
Problema | Subsir crescator maximal | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:1: error: ‘int32’ does not name a type
int32 A[2000000000], B[2000000000], C[2000000000], D[2000000000], i,p,n,j;
^
user.cpp: In function ‘int main()’:
user.cpp:8:7: error: ‘n’ was not declared in this scope
fin>>n;
^
user.cpp:9:7: error: ‘i’ was not declared in this scope
for (i=1; i<=n; i++){
^
user.cpp:10:13: error: ‘A’ was not declared in this scope
fin>>A[i];
^
user.cpp:12:4: error: ‘C’ was not declared in this scope
C[n]=1;
^
user.cpp:13:5: error: ‘D’ was not declared in this scope
D[n]=0;
^
user.cpp:14:7: error: ‘i’ was not declared in this scope
for (i=n-1; i>=1; i--)
^
user.cpp:16:3: error: ‘p’ was not declared in this scope
p=i;
^
user.cpp:18:7: error: ‘j’ was not declared in this scope
for(j=i+1; j<=n; j++)
^
user.cpp:20:9: error: ‘A’ was not declared in this scope
if ((A[i]<A[j]) && (C[j]>C[p]))
^
user.cpp:30:2: error: ‘p’ was not declared in this scope
p=n;
^
user.cpp:31:7: error: ‘i’ was not declared in this scope
for (i=n-1; i>=1; i--)
^
user.cpp:34:11: error: ‘A’ was not declared in this scope
fout<<A[p]<<" ";
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !