摘要:
进制转化类题目类型: 代码详解及注释解答: //进制转化问题 #include <bits/stdc++.h> using namespace std; int main(){ // 1.反序数 123->321 // int n; // int sn = 0;//存取反序数 // scanf("% 阅读全文
posted @ 2020-02-16 16:48
Kimishima-Kana
阅读(248)
评论(0)
推荐(0)
摘要:
1.题一 #include <stdio.h> int main(){ int n, sum=0; scanf("%d", &n); if( n<=100 ){ while( n>0 ){ sum += n; n--; } } printf("%d\n", sum); return 0; } 2.题 阅读全文
posted @ 2020-02-16 15:09
Kimishima-Kana
阅读(253)
评论(0)
推荐(0)
摘要:
1.vector 2.queue 3.stack 4.map 5.set 6.多组输入输出问题 详解见代码以及注释: //学习STL的使用 #include <bits/stdc++.h> using namespace std; int main(){ // 1.使用vector // vecto 阅读全文
posted @ 2020-02-16 14:01
Kimishima-Kana
阅读(315)
评论(0)
推荐(0)

浙公网安备 33010602011771号