F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_36608713_28666.cpp:7:7: error: expected unqualified-id before numeric constant
 int t,10,m,ans,x[11],M[N];
       ^
0_0_36608713_28666.cpp: In function 'void dfs(int, int, int, int)':
0_0_36608713_28666.cpp:24:41: error: 'x' was not declared in this scope
             if (s[i][0]=='+')dfs(k+1,(S+x[i])%mod,i,vis | (1 << i));
                                         ^
0_0_36608713_28666.cpp:25:32: error: 'x' was not declared in this scope
             else dfs(k+1,(ll)S*x[i]%mod,i,vis | (1 << i));
                                ^
0_0_36608713_28666.cpp: In function 'int main()':
0_0_36608713_28666.cpp:31:23: error: 'n' was not declared in this scope
         scanf("%d%d",&n,&m);
                       ^
0_0_36608713_28666.cpp:31:26: error: 'm' was not declared in this scope
         scanf("%d%d",&n,&m);
                          ^
0_0_36608713_28666.cpp:32:49: error: 'x' was not declared in this scope
         for(int i=0;i<10;i++)scanf("%s%d",s[i],&x[i]);
                                                 ^
0_0_36608713_28666.cpp:34:21: error: 'st' was not declared in this scope
         for(int i = st; i <= ed; i = nxt(i)){
                     ^
0_0_36608713_28666.cpp:34:30: error: 'ed' was not declared in this scope
         for(int i = st; i <= ed; i = nxt(i)){
                              ^
0_0_36608713_28666.cpp:35:13: error: 'M' was not declared in this scope
             M[i]=1,v[i].clear();
             ^
0_0_36608713_28666.cpp:37:62: error: 'x' was not declared in this scope
                 if ((i&(1<<j))&&(s[j][0]=='*'))M[i]=(ll)M[i]*x[j]%mod;
                                                              ^
0_0_36608713_28666.cpp:40:21: error: 'st' was not declared in this scope
         for(int i = st; i <= ed; i = nxt(i))sort(v[i].begin(),v[i].end());
                     ^
0_0_36608713_28666.cpp:40:30: error: 'ed' was not declared in this scope
         for(int i = st; i <= ed; i = nxt(i))sort(v[i].begin(),v[i].end());
                              ^
0_0_36608713_28666.cpp:41:9: error: 'ans' was not declared in this scope
         ans=mod;
         ^
0_0_36608713_28666.cpp:42:21: error: 'st' was not declared in this scope
         for(int i = st; i <= ed; i = nxt(i)){
                     ^
0_0_36608713_28666.cpp:42:30: error: 'ed' was not declared in this scope
         for(int i = st; i <= ed; i = nxt(i)){
                              ^
0_0_36608713_28666.cpp:46:31: error: 'M' was not declared in this scope
                 int mm=((ll)m*M[i]+v[i][j])%mod*M[ii]%mod;
                               ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-22 22:13:51, Gzip enabled