题解列表

筛选

2998: 电影票

摘要:解题思路:人数*10注意事项:需要输出空格。参考代码:#include<bits/stdc++.h>using namespace std;int main(){&……

c语言解决 小九九 题号1671

摘要:解题思路:For循环嵌套do while循环,再嵌套if-else判断。注意事项:在做这个题目中最主要其实就是需要每个左对齐,我之前尝试了别的方法,比如增加/t缩进等,但最后还是发现,直接判断敲空格是……

每个数的个数(cx12h)

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;map<int,int>mp;int main(){ int……

s01串(cx12g)

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string s,c; s="0&qu……

新手乘方计算

摘要:# 这里使用的是for循环int main(){ int a = 0;int n = 0; scanf("%d %d", &a, &n); //判断n是否等于0 ……