【codeforce】-#669A-Little Artem and Presents(数学,找规律)
来源:互联网 发布:雅思大作文 知乎 编辑:程序博客网 时间:2024/06/05 06:30
点击打开题目
#include<cstdio>int main(){int n,x,y,ans;while(~scanf("%d",&n)){x=n%3;y=n/3;if(x!=0)ans=2*y+1;elseans=2*y;printf("%d\n",ans);}return 0;}
0 0
- 【codeforce】-#669A-Little Artem and Presents(数学,找规律)
- 【CodeForces】669A - Little Artem and Presents(找规律)
- CodeForces 669A Little Artem and Presents
- CodeForces 669A Little Artem and Presents
- 【CodeForces】669A - Little Artem and Presents
- 【CodeForces】[669A]Little Artem and Presents
- CodeForces 669A Little Artem and Presents
- codeforces 669A Little Artem and Presents
- A. Little Artem and Presents
- Codeforces 669A Little Artem and Presents(数量不同送礼物)
- 13周练J - Little Artem and Presents【规律】
- Codeforces Round #348 (div 2) A. Little Artem and Presents
- Codeforces Round #348 (VK Cup 2016 Round 2, Div. 2 Edition)-A. Little Artem and Presents(模拟)
- CodeForces 669ALittle Artem and Presents
- CodeForces 668C Little Artem and Random Variable(数学)
- CodeForces 641 A.Little Artem and Grasshopper(水~)
- CodeForces 668A Little Artem and Matrix
- CF Round #348 Div. 2 A. Little Artem and Present B. Little Artem and Grasshopper C. Little Artem and
- DragView(二)
- BCM56445流量统计功能开发总结
- Asp.Net MVC学习笔记(一)谨记点
- 栏目跳转 用iframe加载页面 ajax加载页面在div中
- SSL peer certificate or SSH remote key was not OK
- 【codeforce】-#669A-Little Artem and Presents(数学,找规律)
- 编程小练习
- Tomcat提示指定的服务未安装Unable to open the service 'tomcat'
- 欢迎使用CSDN-markdown编辑器
- javax.el.PropertyNotFoundException: Property 'emailaddress' not found on type ja
- Elasticsearch IK 同义词
- CSU-1336--Interesting Calculator(bfs)
- 线程和进程的区别和联系
- 155. Min Stack