原创 A - Calandar

On a planet far away from Earth, one year is composed of 12 months, and each month always consists of 30 days. Also

原创 M - Sekiro

Sekiro: Shadows Die Twice is an action-adventure video game developed by FromSoftware and published by Activision.

原创 B - Primes

A prime number is a natural number greater than 1 and has exactly 2 divisors which are 1 and the number itself. You

原创 java——小鑫の日常系列故事(十)——排名次

Problem Description 小鑫在來到SDUT之後,經過十分刻苦的學習和努力終於進入了ACM集訓隊。很快又一次ACM集訓隊的選拔就要開始了,集訓隊員們又忙碌了起來。他也十分幸運的被學長抓來當苦力。 o(∩_∩)o 這

原创 E - Substring Reverse

Two strings s and t of the same length are given. Determine whether it is possible to make t from s using exactly o

原创 J - Parallelograms

There are n sticks, the i-th of which has length ai. Alex wants to assemble from them as many parallelograms as pos

原创 圖的基本存儲的基本方式

Description 解決圖論問題,首先就要思考用什麼樣的方式存儲圖。但是小鑫卻怎麼也弄不明白如何存圖纔能有利於解決問題。你能幫他解決這個問題麼? Input 多組輸入,到文件結尾。 每一組第一行有兩個數n、m表示n個點,m條有

原创 J - Convert QWERTY to Dvorak

思路: 把兩種鍵盤的符號都存到字符串中,再尋找就可以了,剛開始用c++一直wa,後來改了c就a了。 #include<stdio.h> #include<cstring> using namespace std; char