![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
签到题或水题
风去幽墨
当你为自己的未来踏踏实实地努力时,那些你从未见过的风景正一步步向你走来
展开
-
HDU-2051-Bitset (水题)
原题链接:http://acm.hdu.edu.cn/showproblem.php?pid=2051Give you a number on base ten,you should output it on base two.(0 < n < 1000)InputFor each case there is a postive number n on base ten, en...原创 2018-11-21 20:40:51 · 195 阅读 · 0 评论 -
Codeforces Round#523 (div2)A -Coins (水题)
原题链接:A. Coinstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou have unlimited number of coins with values 1,2,…,n. You want to select some...原创 2018-11-23 14:31:57 · 122 阅读 · 0 评论 -
CodeForces Round#523(div2)B-Views Matter (模拟水题)
原题链接:http://codeforces.com/contest/1061/problem/BB. Views Mattertime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou came to the exhibition ...原创 2018-11-23 14:53:41 · 339 阅读 · 0 评论 -
Codeforces Round#524 A-Petya and Origami (签到题)
原题链接:http://codeforces.com/contest/1080/problem/AA. Petya and Origamitime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPetya is having a party...原创 2018-11-25 23:45:12 · 234 阅读 · 0 评论 -
CodeForces 546-A(签到题)
Nastya Is Reading a BookAfter lessons Nastya decided to read a book. The book contains n chapters, going one after another, so that one page of the book belongs to exactly one chapter and each chapte...原创 2019-03-22 11:41:02 · 597 阅读 · 0 评论 -
CodeForces 546-B (基础数学题签到)
Nastya Is Playing Computer Games–>题目传送门<–题意:有n个井盖,每个井盖上有一块石头,井盖下有一个硬币,Nastya现在站在第k个井盖的地方。Nastya拿到所有硬币就算通关。Nastya每一步可以执行三个操作:向左或向右移一位;或者搬起石头扔到其余任意的井盖上;当井盖上没有石头了,就可以拿出其中的硬币。求通关所需最少步骤数。题解:每一...原创 2019-03-22 11:57:39 · 186 阅读 · 0 评论 -
计蒜客信息学入门赛 #3 题解
A原题链接:https://www.jisuanke.com/contest/2759/219462题解:由于血量为b,每张卡牌伤害为a,所以直接输出b/a(向上取整即可)AC代码:#include <bits/stdc++.h>using namespace std;int main(){ ios::sync_with_stdio(false); cin...原创 2019-06-15 14:51:07 · 417 阅读 · 0 评论 -
计蒜客信息学入门赛 #2 题解
A:https://nanti.jisuanke.com/t/39325题解:输出x+a,y+b。B:https://nanti.jisuanke.com/t/39326题解:将数字拆开计算和是否能被6整除。C:https://nanti.jisuanke.com/t/39327题解:根据x从小到大排序,若x相同按y从小到大排序,依次计算。注意取模和开longlong。AC代码:...原创 2019-06-18 13:10:21 · 907 阅读 · 0 评论