摘要:
官方题解: http://www.cnblogs.com/qscqesze/p/6418555.html#3623453 喵哈哈村的魔法石 描述 传说喵哈哈村有三种神奇的魔法石:第一种魔法石叫做人铁石,拥有A的能量;第二种魔法石叫做地冈石,拥有B的能量;而第三种,则是最神奇的天玄石,拥有无可比拟的C 阅读全文
摘要:
Description Little Nastya has a hobby, she likes to remove some letters from word, to obtain another word. But it turns out to be pretty hard for her, 阅读全文
摘要:
Description Igor found out discounts in a shop and decided to buy n items. Discounts at the store will last for a week and Igor knows about each item 阅读全文
摘要:
Description Polycarp is crazy about round numbers. He especially likes the numbers divisible by 10k. In the given number of n Polycarp wants to remove 阅读全文
摘要:
Description In Berland each high school student is characterized by academic performance — integer value between 1 and 5. In high school 0xFF there ar 阅读全文
摘要:
#include using namespace std; #define ll long long ll a[200000]; ll d[200000]; int main() { ll n; ll sum=0; cin>>n; for(int i=0;i>a[i]; sum+=a[i]; } for(int i=0;i #i... 阅读全文
摘要:
Misha and Vanya have played several table tennis sets. Each set consists of several serves, each serve is won by one of the players, he receives one p 阅读全文
摘要:
Description Kostya likes Codeforces contests very much. However, he is very disappointed that his solutions are frequently hacked. That's why he decid 阅读全文
摘要:
Description There are literally dozens of snooker competitions held each year, and team Jinotega tries to attend them all (for some reason they prefer 阅读全文
摘要:
A - ABC/ARC Time limit : 2sec / Memory limit : 256MB Score : 100 points Problem Statement Smeke has decided to participate in AtCoder Beginner Contest 阅读全文