Borderou de evaluare (job #1487377)
Utilizator | Data | 16 septembrie 2015 18:50:39 | |
---|---|---|---|
Problema | Cmmmc | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:3:1: error: expected initializer before ‘int’
int n,i,l,c,k,y[10000],x[100],m,j,t,a,b;
^
user.cpp: In function ‘int main()’:
user.cpp:6:79: error: ‘m’ was not declared in this scope
freopen("cmmmc.in","r",stdin),freopen("cmmmc.out","w",stdout),scanf("%d",&m),y[++t]=2;
^
user.cpp:6:82: error: ‘y’ was not declared in this scope
freopen("cmmmc.in","r",stdin),freopen("cmmmc.out","w",stdout),scanf("%d",&m),y[++t]=2;
^
user.cpp:6:86: error: ‘t’ was not declared in this scope
freopen("cmmmc.in","r",stdin),freopen("cmmmc.out","w",stdout),scanf("%d",&m),y[++t]=2;
^
user.cpp:7:9: error: ‘i’ was not declared in this scope
for(i=1;((i*i)<<1)+(i<<1)<=44800;i++)
^
user.cpp:8:9: error: ‘p’ was not declared in this scope
if((p[i>>3]&(1<<(i&7)))==0)
^
user.cpp:9:13: error: ‘j’ was not declared in this scope
for(j=((i*i)<<1)+(i<<1);(j<<1)+1<44800;j+=(i<<1)+1)
^
user.cpp:11:9: error: ‘i’ was not declared in this scope
for(i=1;2*i+1<44800;i++)
^
user.cpp:12:9: error: ‘p’ was not declared in this scope
if((p[i>>3]&(1<<(i&7)))==0)
^
user.cpp:15:21: error: ‘n’ was not declared in this scope
scanf("%d",&n),k=0,b=a=n;
^
user.cpp:15:24: error: ‘k’ was not declared in this scope
scanf("%d",&n),k=0,b=a=n;
^
user.cpp:15:28: error: ‘b’ was not declared in this scope
scanf("%d",&n),k=0,b=a=n;
^
user.cpp:15:30: error: ‘a’ was not declared in this scope
scanf("%d",&n),k=0,b=a=n;
^
user.cpp:16:13: error: ‘j’ was not declared in this scope
for(j=i=1;i<=t&&y[i]*y[i]<=n;i++) {
^
user.cpp:16:15: error: ‘i’ was not declared in this scope
for(j=i=1;i<=t&&y[i]*y[i]<=n;i++) {
^
user.cpp:17:17: error: ‘l’ was not declared in this scope
for(l=0;n>1&&n%y[i]==0;l++,n/=y[i]);
^
user.cpp:18:16: error: ‘l’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !