0_0_36491218_13930.cpp:31:7: error: 'N' was not declared in this scope
int f[N],SG[MAXN],S[MAXN];
^
0_0_36491218_13930.cpp:31:13: error: 'MAXN' was not declared in this scope
int f[N],SG[MAXN],S[MAXN];
^
0_0_36491218_13930.cpp:31:21: error: 'MAXN' was not declared in this scope
int f[N],SG[MAXN],S[MAXN];
^
0_0_36491218_13930.cpp: In function 'void getSG(int)':
0_0_36491218_13930.cpp:33:2: error: 'f' was not declared in this scope
f[0]=1,f[0]=1;
^
0_0_36491218_13930.cpp:38:12: error: 'SG' was not declared in this scope
memset(SG,0,sizeof(SG));
^
0_0_36491218_13930.cpp:42:16: error: 'S' was not declared in this scope
memset(S,0,sizeof(S));
^
0_0_36491218_13930.cpp:43:38: error: 'N' was not declared in this scope
for(j = 0; f[j] <= i && j <= N; j++)
^
0_0_36491218_13930.cpp: In function 'int main()':
0_0_36491218_13930.cpp:57:2: error: expected ';' before 'while'
while(cin>>n>>m>>p){
^
0_0_36491218_13930.cpp:66:1: error: expected '}' at end of input
}
^
|