04 2018 档案
摘要:具体的不用多说,就是高精度乘法,乘来乘去的,答案就出来了。#includeusing namespace std;int Ans[100000];int main() { int n,Lgt = 1; scanf("%d",&n); Ans[1] =...
阅读全文
摘要:具体原理没什么好说的,模拟,重要的是如何处理最完美。我的有道云上有更完美的版本。#include#include#include#include#include#includeusing namespace std;int la,lb,lans,ans[270];ch...
阅读全文
摘要:【问题描述】 小 W 潜入了外星人的基地刺探情报,遇到一个二级密码系统。一级密码是一个长度为 n 的 0-1 序列 B, 记为(b1 b2 ⋯ bn)。 将一级密码的第一位放到最后,得到一个新的序 列(b2 b3 ⋯ b1), 继续做同样的操作得到(b...
阅读全文
摘要:没有什么好说的,只要注意一下 “%lld” 。#include#include#include#include#include#includeusing namespace std;typedef long long ll;const int MAXN = 1e5 +...
阅读全文
摘要:关于头文件cmath// -*- C++ -*- C forwarding header.// Copyright (C) 1997-2014 Free Software Foundation, Inc.//// This file is part of the GN...
阅读全文
摘要:题目#include#include#include#include#include#includeusing namespace std;int n,Aix,Aiy,Cnt;int Map[1000][1000];void Dac(int Stx,int Sty,i...
阅读全文

浙公网安备 33010602011771号