摘要:
矩阵快速幂裸题,不过听说好像循环就能过,=_=……蒙蔽的我。。。。1.问题描述Given a code (not optimized), and necessary inputs, you have to find the output of the code for the inputs. The... 阅读全文
摘要:
#include#include#include#include#include#include#includetypedef unsigned long long ull;using namespace std;const long long h1=998244353,h2=1000000007,... 阅读全文
摘要:
#include#include#include#includeusing namespace std;const long long mod=2147493647;const int maxn=100000+10;struct T{ long long maxtrix[7][7]; int len... 阅读全文
摘要:
#include#include#include#include#include#include#include#define LEFT 1#define RIGHT 2#define UP 3#define DOWN 4#define FOODMAX -2#define FOOD -1#defin... 阅读全文