原创 D. Cow and Snacks

D. Cow and Snacks  傳送門 The legendary Farmer John is throwing a huge party, and animals from all over the world are hang

原创 The Nth Item

題目描述    傳送門 For a series FFF: We have some queries. For each query N, the answer A is the value F(N) modulo 998244353.

原创 P1198 [JSOI2008]最大數

題目描述    傳送門 現在請求你維護一個數列,要求提供以下兩種操作: 1、 查詢操作。 語法:Q L 功能:查詢當前數列中末尾L個數中的最大的數,並輸出這個數的值。 限制:LLL不超過當前數列的長度。(L>0)(L > 0)(L>0)

原创 P2901 [USACO08MAR]牛慢跑Cow Jogging

題目描述  傳送門 Bessie has taken heed of the evils of sloth and has decided to get fit by jogging from the barn to the pond s

原创 Heavy Transportation

Heavy Transportation(POJ - 1797) Time Limit: 3000MS   Memory Limit: 30000K Total Submissions: 57578   Accepted: 14456 D

原创 WD

$ekrfier$ sdmfrnv $int include $

原创 E. Two Teams

E. Two Teams time limit per test 2 seconds memory limit per test 256 megabytes There are nn students standing in a row.

原创 D. Walking Robot

D. Walking Robot time limit per test 2 seconds memory limit per test 256 megabytes There is a robot staying at X=0X=0 o

原创 E. Tree Reconstruction

E. TreeReconstruction                time limit per test               1 second                memory limit per test   

原创 C. Classy Numbers

C. Classy Numbers                time limit per test                3 seconds                memory limit per test     

原创 G. Two Merged Sequences

G. Two Merged Sequences            time limit per test            2 seconds            memory limit per test          

原创 E. Median String

E. Median String           time limit per test           2 seconds           memory limit per test           256 megaby

原创 Graph Without Long Directed Paths

F. Graph Without Long Directed Paths             time limit per test             2 seconds             memory limit per

原创 Superhero Battle

E. Superhero Battle time limit per test 2 seconds memory limit per test 256 megabytes A superhero fights with a monster

原创 審美課

審美課   時間限制:1.0s   內存限制:256.0MB 問題描述   《審美的歷程》課上有n位學生,帥老師展示了m幅畫,其中有些是梵高的作品,另外的都出自五歲小朋友之手。老師請同學們分辨哪些畫的作者是梵高,但是老師自己並沒有答案,因