Search found 1 match

by nazmul225
Sun Jan 11, 2015 10:41 pm
Forum: Volume 102 (10200-10299)
Topic: 10229 - Modular Fibonacci
Replies: 53
Views: 26349

Re: 10229 - Modular Fibonacci

why wa?
#include<bits/stdc++.h>
#define i64 long long
#define filein freopen("in.txt","r",stdin)
#define fileout freopen("my.txt","w",stdout)

using namespace std;

void multiply(i64 F[2][2], i64 M[2][2]){
i64 x = F[0][0]*M[0][0] + F[0][1]*M[1][0];
i64 y = F[0][0]*M[0][1] + F[0][1]*M[1][1];
i64 ...

Go to advanced search