Borderou de evaluare (job #1127539)
Utilizator | Data | 27 februarie 2014 12:50:08 | |
---|---|---|---|
Problema | Pluton | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:3:36: error: unable to find numeric literal operator ‘operator"" i’
long a[4001][4011],x;int t[10],n,p=0i,sem=0,ma,fr,l,j,k;
^
user.cpp: In function ‘int main()’:
user.cpp:8:5: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:10:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d",&x);
^
user.cpp:11:9: error: ‘j’ was not declared in this scope
for(j=0;j<10;j++)t[j]=0;
^
user.cpp:13:5: error: ‘k’ was not declared in this scope
k=0;
^
user.cpp:14:9: error: ‘l’ was not declared in this scope
for(l=1;l<=p;l++){sem=1;
^
user.cpp:14:23: error: ‘sem’ was not declared in this scope
for(l=1;l<=p;l++){sem=1;
^
user.cpp:15:27: error: ‘j’ was not declared in this scope
for(j=0;j<10;j++)if(a[l][j]!=t[j])sem=0;
^
user.cpp:19:17: error: ‘j’ was not declared in this scope
for(j=0;j<=9;j++)a[p][j]=t[j];
^
user.cpp:25:1: error: ‘ma’ was not declared in this scope
ma=a[1][10];fr=1;
^
user.cpp:25:13: error: ‘fr’ was not declared in this scope
ma=a[1][10];fr=1;
^
user.cpp:26:5: error: ‘i’ was not declared in this scope
for(i=2;i<=p;i++)if(ma<a[i][10]){ma=a[i][10];fr=1;}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !