CSU 1718(脑洞)
来源:互联网 发布:北明软件 编辑:程序博客网 时间:2024/06/07 22:58
1718: And Then There Was 5
Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 98 Solved: 70
[Submit][Status][Web Board]
Description
Input
Output
Sample Input
43 2123456 6999999 8765432 7
Sample Output
2 56 58 57 5
HINT
Source
题意:解题与题意无关,略过
题解:观察数据可知答案,输入(P,D),输出(D,5)
#include<cstdio> #include<cstring> #include<cstdlib> #include<cmath> #include<iostream> #include<algorithm> #include<vector> #include<map> #include<set> #include<queue> #include<string> #include<bitset> #include<utility> #include<functional> #include<iomanip> #include<sstream> #include<ctime> using namespace std; #define N int(1e5) #define inf int(0x3f3f3f3f) #define mod int(1e9+7) typedef long long LL; double pi=2*asin(1.0);int main() { #ifdef CDZSC freopen("i.txt", "r", stdin); //freopen("o.txt","w",stdout); int _time_jc = clock(); #endif int t,n,p;scanf("%d",&t);while(t--){scanf("%d%d",&n,&p);printf("%d %d\n",p,5);} return 0; }
0 0
- CSU 1718(脑洞)
- CSU
- CSU
- CSU
- CSU
- CSU
- CSU
- CSU
- CSU
- CSU
- CSU
- CSU
- CSU
- CSU
- CSU
- CSU
- CSU
- CSU
- iOS开发中Pch文件的使用与技巧
- IOS开发 使用XIB自定义一个UIView
- HDU 5655 CA Loves Stick
- 图的邻接表存储
- coreboot学习10:coreboot第一阶段学习小结
- CSU 1718(脑洞)
- Git的.gitignore文件配置格式。。。
- 『C++ Primer学习笔记』Chapter 3——string对象、vector对象以及数组的不同处理方法
- JavaScript深入理解函数参数列表及“不存在重载”
- IOS成长之路-使用xib界面与和代码相关联的方法
- iOS-Webview及正则表达式
- 图的矩阵与邻接矩阵转换和遍历
- Android中Intent传递自定义对象类型的数据
- 结构型模式之桥接模式