![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
codeforces
一条咸鱼MOON
这个作者很懒,什么都没留下…
展开
-
CF水题-337A. Puzzles
The end of the school year is near and Ms. Manana, the teacher, will soon have to say goodbye to a yet another class. She decided to prepare a goodbye present for hernstudents and give each of them a jigsaw puzzle (which, as wikipedia states, is a til...原创 2020-09-23 19:36:54 · 218 阅读 · 0 评论 -
CF水题-486A. Calculating Function
#include <iostream>using namespace std;long long cal(long long n){ if(n%2==0) return n/2; else return n/2+(-1)*n;}int main(){ long long n; cin>>n; cout<<cal(n); return 0;}原创 2020-09-20 22:04:50 · 178 阅读 · 0 评论