Borderou de evaluare (job #1321639)
Utilizator | Data | 19 ianuarie 2015 13:54:36 | |
---|---|---|---|
Problema | A+B | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:4:1: error: ‘offstream’ does not name a type
offstream fout ("adunare.out");
^
user.cpp:5:30: error: size of array ‘A’ is too large
int a,b,x,y,k,r,A[20000000000],B[20000000000];
^
user.cpp:5:45: error: size of array ‘B’ is too large
int a,b,x,y,k,r,A[20000000000],B[20000000000];
^
user.cpp: In function ‘int main()’:
user.cpp:16:2: error: ‘A’ was not declared in this scope
A[0]=k;
^
user.cpp:22:2: error: ‘B’ was not declared in this scope
B[0]=r;
^
user.cpp:23:7: error: ‘i’ was not declared in this scope
for (i=1;i<=A[0]||i<=B[0]||t!=0;i++)
^
user.cpp:23:29: error: ‘t’ was not declared in this scope
for (i=1;i<=A[0]||i<=B[0]||t!=0;i++)
^
user.cpp:25:3: error: ‘C’ was not declared in this scope
C[i]=(t+A[i]+B[i])%10;
^
user.cpp:28:2: error: ‘cout’ was not declared in this scope
cout<<C[i];
^
user.cpp:28:8: error: ‘C’ was not declared in this scope
cout<<C[i];
^
user.cpp:28:10: error: ‘i’ was not declared in this scope
cout<<C[i];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !