上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 56 下一页
摘要: #include <iostream> using namespace std; int main(){ int t; cin >> t; int h = t / 3600; //先算t秒得到h小时 t -= h * 3600; //减去h小时的秒数 int m = t / 60; //再算t秒得到 阅读全文
posted @ 2024-07-03 16:19 CRt0729 阅读(99) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> #define f(i,s,e) for(int i = s; i <= e; i++) #define ll long long using namespace std; const int N = 1e3+10,inf = 0x3f3f3f3f; 阅读全文
posted @ 2024-07-03 16:17 CRt0729 阅读(19) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> #define f(i,s,e) for(int i = s; i <= e; i++) #define ll long long using namespace std; const int N = 1e3+10,inf = 0x3f3f3f3f; 阅读全文
posted @ 2024-07-03 16:15 CRt0729 阅读(38) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> #define f(i,s,e) for(int i = s; i <= e; i++) #define ll long long using namespace std; const int N = 1e3+10,inf = 0x3f3f3f3f; 阅读全文
posted @ 2024-07-03 16:14 CRt0729 阅读(36) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> using namespace std; typedef long long ll; const int N = 1e3+10,inf = 0x3f3f3f3f; int main() { char c; cin >> c; cout << " " < 阅读全文
posted @ 2024-07-03 16:11 CRt0729 阅读(27) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> using namespace std; typedef long long ll; const int N = 1e3+10,inf = 0x3f3f3f3f; int main() { int a,b,c,d; cin >> a >> b >> c 阅读全文
posted @ 2024-07-03 16:05 CRt0729 阅读(48) 评论(0) 推荐(0)
摘要: 循环结构参考资料:https://blog.csdn.net/m0_56945138/article/details/118929416需要掌握:1.for循环用法2.while循环用法3.continue跳过 和 break终止 题号 题目名称 题解链接 3067 输出范围内的整数 https:/ 阅读全文
posted @ 2024-06-30 22:58 CRt0729 阅读(32) 评论(0) 推荐(0)
摘要: 解法一:循环倒叙一个个找 #include<bits/stdc++.h> #define f(i,s,e) for(int i = s; i <= e; i++) #define ll long long using namespace std; const int N = 1e3+10,inf = 阅读全文
posted @ 2024-06-30 22:55 CRt0729 阅读(70) 评论(0) 推荐(0)
摘要: 解法一:循环找 #include<bits/stdc++.h> #define f(i,s,e) for(int i = s; i <= e; i++) #define ll long long using namespace std; const int N = 1e3+10,inf = 0x3f 阅读全文
posted @ 2024-06-30 22:53 CRt0729 阅读(100) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> #define f(i,s,e) for(int i = s; i <= e; i++) #define ll long long using namespace std; const int N = 1e3+10,inf = 0x3f3f3f3f; 阅读全文
posted @ 2024-06-30 22:50 CRt0729 阅读(54) 评论(0) 推荐(0)
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 56 下一页