摘要: 求:3^0 + 3^1 +...+ 3^(N) mod 1000000007Input输入一个数N(0 #include #include #include using namespace std;#define mod 1000000007long long myP... 阅读全文
posted @ 2018-05-18 21:58 Assassin_poi君 阅读(187) 评论(0) 推荐(0)
摘要: 转载自:海克斯科技门1.首先,需要的头文件:import java.math.*; // 包含大数类的包 import java.util.*; // 包含输入头的包2.然后一个java程序的主体应该是这样:public class Main{ pu... 阅读全文
posted @ 2018-05-18 21:24 Assassin_poi君 阅读(281) 评论(0) 推荐(0)
摘要: I have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B.InputThe first line of the... 阅读全文
posted @ 2018-05-18 20:56 Assassin_poi君 阅读(296) 评论(0) 推荐(0)
摘要: #define MAX_VEX 10//最大顶点数typedef int InfoType;typedef char VexType;//顶点的类型typedef int WeightType;//权值的类型 图的种类(有向图、无向图、加权有向图、加权无向图),采用枚... 阅读全文
posted @ 2018-05-18 19:17 Assassin_poi君 阅读(205) 评论(0) 推荐(0)