题解列表
密码翻译(必须会得偶)
摘要:参考代码:import java.util.Scanner;
public class Main {
public static void main(String[] args) {
……
1000: [竞赛入门]简单的a+b
摘要:解题思路:注意事项:其实直接提交就好,源代码就是1000的题解参考代码:#include<iostream>using namespace std;int main(){ int a,b; ……
优质题解:N以内累加求和
摘要:```
#include
using namespace std;
int main(){
//下面是for循环
int n , sum = 0;
cin>>n;
for……
2000: 偶数列举
摘要:```
#include
using namespace std;
int main(){
//下面是for循环
int n , sum = 0;
cin>>n;
for……
1141: C语言训练-百钱百坤问题
摘要:#百钱百鸡问题
##我的代码如下
```
#include
using namespace std;
int main(){
int x,y,z;
……
判断能否被3、5、7整除
摘要:
```
#include
using namespace std;
int main() {
int n;
cin >> n;
if (n % 3 == 0) cout ……
100-999之间的水仙花数
摘要:解题思路:把每个位置拿出来注意事项:参考代码:#include<stdio.h>int main(){ int i,a,b,c; for(i=100;i<1000;i++){ a=i……