0_0_24423903_7976.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_24423903_7976.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_24423903_7976.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_24423903_7976.cpp:5:9: error: '__int64' does not name a type
typedef __int64 ll;
^
0_0_24423903_7976.cpp:10:1: error: 'll' does not name a type
ll MOD;
^
0_0_24423903_7976.cpp:25:1: error: 'll' does not name a type
ll Mul(ll a, ll b) {
^
0_0_24423903_7976.cpp:36:10: error: variable or field 'Add' declared void
void Add(ll &x, ll y) {
^
0_0_24423903_7976.cpp:36:10: error: 'll' was not declared in this scope
0_0_24423903_7976.cpp:36:14: error: 'x' was not declared in this scope
void Add(ll &x, ll y) {
^
0_0_24423903_7976.cpp:36:17: error: 'll' was not declared in this scope
void Add(ll &x, ll y) {
^
0_0_24423903_7976.cpp:54:5: error: 'll' does not name a type
ll a[D][D];
^
0_0_24423903_7976.cpp: In constructor 'matrix::matrix()':
0_0_24423903_7976.cpp:56:16: error: 'a' was not declared in this scope
memset(a, 0, sizeof(a));
^
0_0_24423903_7976.cpp:56:31: error: 'memset' was not declared in this scope
memset(a, 0, sizeof(a));
^
0_0_24423903_7976.cpp: In function 'matrix mul(matrix&, matrix&)':
0_0_24423903_7976.cpp:64:15: error: 'struct matrix' has no member named 'a'
C.a[i][j] = 0;
^
0_0_24423903_7976.cpp:66:23: error: 'struct matrix' has no member named 'a'
Add(C.a[i][j], Mul(A.a[i][k],B.a[k][j]));
^
0_0_24423903_7976.cpp:66:38: error: 'struct matrix' has no member named 'a'
Add(C.a[i][j], Mul(A.a[i][k],B.a[k][j]));
^
0_0_24423903_7976.cpp:66:48: error: 'struct matrix' has no member named 'a'
Add(C.a[i][j], Mul(A.a[i][k],B.a[k][j]));
^
0_0_24423903_7976.cpp:66:55: error: 'Mul' was not declared in this scope
Add(C.a[i][j], Mul(A.a[i][k],B.a[k][j]));
^
0_0_24423903_7976.cpp:66:56: error: 'Add' was not declared in this scope
Add(C.a[i][j], Mul(A.a[i][k],B.a[k][j]));
^
0_0_24423903_7976.cpp: At global scope:
0_0_24423903_7976.cpp:72:1: error: 'll' does not name a type
ll pow_mod(int n, matrix &ret, matrix &x) {
^
0_0_24423903_7976.cpp:81:1: error: 'll' does not name a type
ll gao1(int n) {
^
0_0_24423903_7976.cpp:90:1: error: 'll' does not name a type
ll gao2(int n, int i) {
^
0_0_24423903_7976.cpp:104:1: error: 'll' does not name a type
ll solve(int n) {
^
0_0_24423903_7976.cpp: In function 'int main()':
0_0_24423903_7976.cpp:126:33: error: 'MOD' was not declared in this scope
while(scanf("%d%I64d", &n, &MOD) == 2) {
^
0_0_24423903_7976.cpp:126:36: error: 'scanf' was not declared in this scope
while(scanf("%d%I64d", &n, &MOD) == 2) {
^
0_0_24423903_7976.cpp:128:34: error: 'solve' was not declared in this scope
printf("%I64d\n", solve(n));
^
0_0_24423903_7976.cpp:128:35: error: 'printf' was not declared in this scope
printf("%I64d\n", solve(n));
^
|