0_0_13983537_7822.cpp:4:1: error: 'usingnamespace' does not name a type
usingnamespace std;
^
0_0_13983537_7822.cpp:6:9: error: 'longlong' does not name a type
typedef longlong llg;
^
0_0_13983537_7822.cpp:8:1: error: 'constint' does not name a type
constint N =150000;
^
0_0_13983537_7822.cpp:10:1: error: 'llg' does not name a type
llg n, m, p, fac[N];
^
0_0_13983537_7822.cpp: In function 'void init()':
0_0_13983537_7822.cpp:15:5: error: 'fac' was not declared in this scope
fac[0] =1;
^
0_0_13983537_7822.cpp:16:20: error: 'p' was not declared in this scope
for(i =1; i <= p; i++)
^
0_0_13983537_7822.cpp: At global scope:
0_0_13983537_7822.cpp:20:1: error: 'llg' does not name a type
llg pow(llg a, llg b)
^
0_0_13983537_7822.cpp:32:1: error: 'llg' does not name a type
llg C(llg n, llg m)
^
0_0_13983537_7822.cpp:38:1: error: 'llg' does not name a type
llg Lucas(llg n, llg m)
^
0_0_13983537_7822.cpp: In function 'int main()':
0_0_13983537_7822.cpp:50:35: error: 'n' was not declared in this scope
scanf("%I64d%I64d%I64d", &n, &m, &p);
^
0_0_13983537_7822.cpp:50:39: error: 'm' was not declared in this scope
scanf("%I64d%I64d%I64d", &n, &m, &p);
^
0_0_13983537_7822.cpp:50:43: error: 'p' was not declared in this scope
scanf("%I64d%I64d%I64d", &n, &m, &p);
^
0_0_13983537_7822.cpp:52:39: error: 'Lucas' was not declared in this scope
printf("%I64d\n", Lucas(n+m, n));
^
0_0_13983537_7822.cpp:54:5: error: 'return0' was not declared in this scope
return0;
^
|