#include<iostream>#include<cmath>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; long long sum=1; for(int i=1;i<=b;i++){ sum = sum*a%c; } cou ...
分类:
其他好文 时间:
2016-10-22 14:59:32
阅读次数:
120
#include <iostream>#include <vector>#include <algorithm>using namespace std; class Student{ public: Student(string _name, int _score) { name = _name; ...
分类:
其他好文 时间:
2016-10-22 14:59:07
阅读次数:
120
去年开始接触基于Weiphp的公众平台开发,一直没时间好好整理一下。 下面开始讲解第一个自定义weiphp插件:MyHello的开发流程。 1、插件创建。在weiphp管理后台依次点击“插件管理->创建插件”进入插件创建页面,填写插件的标识名、插件名、版本、作者、描述等信息,勾选“安装后是否启用”、 ...
分类:
Web程序 时间:
2016-10-22 14:53:59
阅读次数:
669
#include "Board.h" Board::Board(){ size = 10; s = new char[9]; set(); //对于棋盘的初始化 } char Board::getS(int i){ return s[i];} int Board::getSize(){ return ...
分类:
其他好文 时间:
2016-10-22 14:45:35
阅读次数:
260
配置回调域名: 1. 引导用户进入授权页面同意授权,获取code 2. 通过code换取网页授权access_token(与基础支持中的access_token不同) 配置回调域名: 1. 引导用户进入授权页面同意授权,获取code 2. 通过code换取网页授权access_token(与基础支持 ...
分类:
微信 时间:
2016-10-22 14:38:31
阅读次数:
394
#include<iostream>using namespace std;int main(){ struct student{ string studentname; int qimograde; int banjigrade; char xuesgb; char xibxs; int lunw ...
分类:
其他好文 时间:
2016-10-22 14:29:58
阅读次数:
171
#include<iostream>using namespace std;int root(int s){ if(s<10){ return s; } else{ int a=s; int b=0; while(a!=0){ b+=a%10; a=a/10; } root(b); }}int ma ...
分类:
其他好文 时间:
2016-10-22 14:28:00
阅读次数:
155
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <input type="text" name="txt" id="txt" placeholder="用户名" /> <input ...
分类:
其他好文 时间:
2016-10-22 14:27:14
阅读次数:
193
#include<iostream>#include<cstdio>using namespace std;int minn=9999999,book[101],n,e[101][101];void dfs(int cur,int dis){ int j; if(dis>minn) return ; ...
分类:
编程语言 时间:
2016-10-22 14:18:36
阅读次数:
152
1. 字符判断 输入一个字符,判断它如果是小写字母输出其对应大写字母;如果是大写字母输出其对应小写字母;如果是数字输出数字本身;如果是空格,输出“space”;如果不是上述情况,输出“other”。 2. 年龄问题 输入一个学生的生日(年:月:日),并输入当前日期(年:月:日),计算该生的实际年龄( ...
分类:
其他好文 时间:
2016-10-22 11:38:30
阅读次数:
199