题解列表

筛选

火焰 烧尽

摘要:解题思路:                      完全背包问题注意事项:参考代码:#include"bits/stdc++.h" using namespace std; int n; in……

最普通的解法

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int strcmp_(char a[],char b[]){    int len1,len2; ……

无聊的星期五

摘要:解题思路:注意事项:#include <stdio.h> #include<stdlib.h> int main() { for (int i = 1000; i < 9999;i++) {……

无聊的星期五

摘要:解题思路:注意事项:#include <stdio.h> #include<stdlib.h> int main() { int x, y; scanf_s("%d %d", &x, &……

无聊的星期五

摘要:#include <stdio.h> #include<stdlib.h> int main() { char c; int sum = 0; while ((c = getchar……

1767: 循环入门练习4题解

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

1768: 循环入门练习5题解

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

佳肴荟萃很快就来一句

摘要:加油了解题思路:注意从后面逐个移动注意事项:参考代码: #include<stdio.h> int main(void) {     int a[10];     int i;     f……

自定义函数处理素数

摘要:#include<stdio.h> int judge(int n); int main(void) {     int n;     while(scanf("%d", &n))    ……