Borderou de evaluare (job #1646518)
Utilizator | Data | 10 martie 2016 16:28:40 | |
---|---|---|---|
Problema | Culori3 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:4:30: error: size of array ‘v’ is too large
int n,i,j,k,t,nr,v[1000000001],s1,s2,s3;
^
user.cpp:5:29: error: size of array ‘a’ is too large
void putere(int a[1000000001])
^
user.cpp: In function ‘void putere()’:
user.cpp:8:13: error: ‘a’ was not declared in this scope
for(i=1; i<=a[0]; i++)
^
user.cpp:13:5: error: ‘a’ was not declared in this scope
a[++a[0]]=t;}
^
user.cpp: At global scope:
user.cpp:15:32: error: size of array ‘a’ is too large
void inmultire(int a[1000000001],int x)
^
user.cpp: In function ‘void inmultire(int)’:
user.cpp:17:17: error: ‘a’ was not declared in this scope
for(i=1; i<=a[0]; i++)
^
user.cpp:22:10: error: ‘a’ was not declared in this scope
{a[++a[0]]=t%10;
^
user.cpp: In function ‘int main()’:
user.cpp:32:1: error: ‘v’ was not declared in this scope
v[0]=1;
^
user.cpp:26:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{freopen("culori3.in", "r", stdin);
^
user.cpp:27:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("culori3.out", "w", stdout);
^
user.cpp:28:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !