Borderou de evaluare (job #1133455)
Utilizator | Data | 4 martie 2014 21:58:13 | |
---|---|---|---|
Problema | Secventa Farey | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:4:28: error: size of array ‘v’ is too large
long int n,k=0,v[2000000002],a[2000000002],i,j,h;
^
user.cpp:4:42: error: size of array ‘a’ is too large
long int n,k=0,v[2000000002],a[2000000002],i,j,h;
^
user.cpp: In function ‘int main()’:
user.cpp:22:18: error: ‘v’ was not declared in this scope
{v[++k]=i;a[k]=j;}
^
user.cpp:22:27: error: ‘a’ was not declared in this scope
{v[++k]=i;a[k]=j;}
^
user.cpp:27:23: error: ‘v’ was not declared in this scope
{ e1=(float)v[i]/a[i];e2=(float)v[j]/a[j];
^
user.cpp:27:28: error: ‘a’ was not declared in this scope
{ e1=(float)v[i]/a[i];e2=(float)v[j]/a[j];
^
user.cpp:30:8: error: ‘v’ was not declared in this scope
g<<v[h]<<" "<<a[h];
^
user.cpp:30:19: error: ‘a’ was not declared in this scope
g<<v[h]<<" "<<a[h];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !