随笔分类 - AtCoder
摘要:C - ID Time limit : 2sec / Memory limit : 1024MB Score: 300 points Problem Statement In Republic of Atcoder, there are N prefectures, and a total of M
阅读全文
摘要:B - Palace Time limit : 2sec / Memory limit : 1024MB Score: 200 points Problem Statement A country decides to build a palace. In this country, the ave
阅读全文
摘要:A - Discount Fare Time limit : 2sec / Memory limit : 1024MB Score: 100 points Problem Statement There is a train going from Station A to Station B tha
阅读全文
摘要:A B Problem Statement You are given an integer sequence of length N, a1,a2,…,aN. For each 1≤i≤N, you have three choices: add 1 to ai, subtract 1 from
阅读全文
摘要:1001 求个绝对值比较大小喽 1002 把字符串出现的字母记录一下,然后遍历a-z,谁第一个没出现就输出谁 1003 Problem Statement We have N sticks with negligible thickness. The length of the i-th stick
阅读全文
摘要:D - Fennec VS. Snuke Time limit : 2sec / Memory limit : 256MB Score : 400 points Problem Statement Fennec and Snuke are playing a board game. On the b
阅读全文
摘要:C - Splitting Pile Time limit : 2sec / Memory limit : 256MB Score : 300 points Problem Statement Snuke and Raccoon have a heap of N cards. The i-th ca
阅读全文
摘要:B - Moderate Differences Time limit : 2sec / Memory limit : 256MB Score : 400 points Problem Statement There are N squares in a row. The leftmost squa
阅读全文
摘要:Problem Statement There are N bags of biscuits. The i-th bag contains Ai biscuits. Takaki will select some of these bags and eat all of the biscuits i
阅读全文
摘要:A - ι⊥l Time limit : 2sec / Memory limit : 256MB Score : 100 points Problem Statement Three poles stand evenly spaced along a line. Their heights are
阅读全文
摘要:B - Splatter Painting Time limit : 2sec / Memory limit : 256MB Score : 700 points Problem Statement Squid loves painting vertices in graphs. There is
阅读全文
摘要:A - AtCoder Group Contest Time limit : 2sec / Memory limit : 256MB Score : 300 points Problem Statement There are 3N participants in AtCoder Group Con
阅读全文
摘要:A - Remaining Time Time limit : 2sec / Memory limit : 256MB Score : 100 points Problem Statement Dolphin loves programming contests. Today, he will ta
阅读全文
摘要:A - ABC/ARC Time limit : 2sec / Memory limit : 256MB Score : 100 points Problem Statement Smeke has decided to participate in AtCoder Beginner Contest
阅读全文
摘要:A - One Card Poker Time limit : 2sec / Memory limit : 256MB Score : 100 points Problem Statement Alice and Bob are playing One Card Poker.One Card Pok
阅读全文
摘要:A - Two Rectangles Time limit : 2sec / Memory limit : 256MB Score : 100 points Problem Statement There are two rectangles. The lengths of the vertical
阅读全文
摘要:A - Haiku Time limit : 2sec / Memory limit : 256MB Score : 100 points Problem Statement As a New Year's gift, Dolphin received a string s of length 19
阅读全文
摘要:Problem Statement Snuke has a calculator. It has a display and two buttons. Initially, the display shows an integer x. Snuke wants to change this valu
阅读全文
摘要:A - Addition and Subtraction Easy Time limit : 2sec / Memory limit : 256MB Score : 100 points Problem Statement Joisino wants to evaluate the formula
阅读全文