题解列表

筛选

for循环简单解题

摘要:解题思路:注意事项:是s【f-1】,不是s【i-】哦!!!参考代码:#include <bits/stdc++.h>using namespace std;int main(){ string s; ……

1866:三位数反转(C++)

摘要:解题思路:百位数为i/100;十位数为1/10-i/100*10;个位数为i-i/100*100-(i/10-i/100*10)*10注意事项:此题目含“有多组测试数据”则需要用循环结构参考代码:#i……

C语言调用函数求阶乘

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>long long fun(int x){ long long y=0; if(x==1) retu……

2920: 分数线划定

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; struct u {     string str;     int……

2919: 奖学金

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; struct u { int xh;     int yv;  ……

注意爆int(错了十几次)

摘要:1. 打表import java.util.Scanner; public class Main {     static int N = 1010, mod = 1000000007;  ……