2016年3月1日
摘要: #include <iostream> #include<math.h> using namespace std; int main() { int n,y,m,d,c,w,t; cin>>t; while(t--) { cin>>y>>m>>d; if(m<=2) { m+=12; y=y-1; 阅读全文
posted @ 2016-03-01 22:42 让编程成为一种习惯 阅读(198) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h" #include <stdio.h> #include <windows.h> int _tmain(int argc, _TCHAR* argv[]) { int a[5] = {0,2,5,7,8}; int b[5] = {1,3,4,6,9}; int 阅读全文
posted @ 2016-03-01 21:51 让编程成为一种习惯 阅读(195) 评论(0) 推荐(0) 编辑