thirteenth专题

黑色星期五 Friday The Thirteenth

黑色星期五 洛谷P1202 这是一道很奇怪的题 我做了一遍 不会 两天后 会了😅 好了 话不多说 讲思路 声明变量判断是平年还是闰年判断现在是几月算13日是星期几输出完美结束 好啦 先不要向下看 自己试试💪 #include <iostream>using namespace std;int m[2][12]={31,28,31,30,31,30,31,31,30,31,

Thirteenth

六级单词 abbreviation     n.缩写 abide     v.忍受 abrest     ad.并排 acclaim     vt.称赞针刺(疗法) acupuncture     n.针刺(疗法)出现,到来 advent     n.出现,到来对手 adversary    ad.对手漂浮地 afloat    vt.漂浮地 agitate    v.鼓动 a

usaco1.1.3 Friday the Thirteenth 题解

【算法】模拟  【难度】☆☆☆☆☆ 很简单的模拟题,关键是读清楚题,注意如何判断闰年。 View Code 1 /* 2 ID: wsc5001 3 LANG: C 4 TASK: friday 5 */ 6 #include<stdio.h> 7 int runnian(int y) 8 { 9 if (y%100==0)10 {11 if

USACO天梯--Friday the Thirteenth

Friday the Thirteenth Is Friday the 13th really an unusual event? That is, does the 13th of the month land on a Friday less often than on any other day of the week? To answer this question, wr