摘要:
C++取整 头文件:#include <cmath> 1 #include<iostream> 2 #include<cmath> 3 using namespace std; 4 int main() 5 { 6 double a=2.5; 7 cout<<ceil(a)<<endl; //向上取 阅读全文
posted @ 2020-01-16 23:46
yyer
阅读(220)
评论(0)
推荐(0)
摘要:
1078 字符串压缩与解压 (20分) https://pintia.cn/problem-sets/994805260223102976/problems/994805262018265088 1 #include <cstdio> 2 #include <cstring> 3 #include 阅读全文
posted @ 2020-01-16 22:42
yyer
阅读(277)
评论(0)
推荐(0)
摘要:
1079 延迟的回文数 (20分) https://pintia.cn/problem-sets/994805260223102976/problems/994805261754023936 1 #include <cstdio> 2 #include <cstring> 3 #include <s 阅读全文
posted @ 2020-01-16 21:23
yyer
阅读(196)
评论(0)
推荐(0)

浙公网安备 33010602011771号