0_0_36721962_5218.cpp:1:1: error: 'include' does not name a type
include<bits/stdc++.h>
^
0_0_36721962_5218.cpp: In function 'int getsg(int)':
0_0_36721962_5218.cpp:14:26: error: 'memset' was not declared in this scope
memset(vis,0,sizeof(vis));
^
0_0_36721962_5218.cpp:18:14: error: 'f' cannot be used as a function
t = X - f(i);
^
0_0_36721962_5218.cpp:27:6: error: expected primary-expression before '!=' token
if(!=vis[i])
^
0_0_36721962_5218.cpp: In function 'int main()':
0_0_36721962_5218.cpp:47:26: error: 'memset' was not declared in this scope
memset(sg,-1,sizeof(sg));
^
0_0_36721962_5218.cpp:51:35: error: 'scanf' was not declared in this scope
while(scanf("%d%d%d",&m,&n,&l))
^
0_0_36721962_5218.cpp:53:20: error: lvalue required as unary '&' operand
if(!m&&!n&&&!l)
^
0_0_36721962_5218.cpp: In lambda function:
0_0_36721962_5218.cpp:55:16: error: expected '{' before '^' token
if(sg([m]^sg[n]^sg[l])
^
0_0_36721962_5218.cpp: In function 'int main()':
0_0_36721962_5218.cpp:55:16: error: no match for 'operator^' (operand types are 'main()::<lambda()>' and 'int')
0_0_36721962_5218.cpp:55:28: error: 'sg' cannot be used as a function
if(sg([m]^sg[n]^sg[l])
^
0_0_36721962_5218.cpp:56:7: error: expected ')' before 'printf'
printf("Fibo\n");
^
0_0_36721962_5218.cpp:58:21: error: 'printf' was not declared in this scope
printf("Nacci");
^
|