题解 1147: C语言训练-角谷猜想 摘要: #include using namespace std; int main(){ int a,b=0; cin>>a; while(1…… 题解列表 2023年11月15日 0 点赞 0 评论 84 浏览 评分:9.9
java--study||O.o 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) …… 题解列表 2024年01月12日 0 点赞 0 评论 97 浏览 评分:9.9
1147: C语言训练-角谷猜想 摘要:解题思路:不为1持续循环注意事项:参考代码:n = int(input())while n != 1: if n % 2 == 0: print("%d/2=%d" %(n,n /…… 题解列表 2024年01月13日 0 点赞 0 评论 168 浏览 评分:8.0
题解 1147: C语言训练-角谷猜想 摘要:解题思路:没什么难想的。注意事项:在写判断奇数时要再写个不等于1,不然会无限重复。参考代码:#include <bits/stdc++.h>using namespace std;int main()…… 题解列表 2024年01月15日 0 点赞 0 评论 94 浏览 评分:9.9
题解 1147: C语言训练-角谷猜想 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ long long m; cin>>m; whil…… 题解列表 2024年01月15日 0 点赞 0 评论 59 浏览 评分:0.0
题解 1147: C语言训练-角谷猜想 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n; cin>>n; …… 题解列表 2024年01月15日 0 点赞 0 评论 98 浏览 评分:9.9
1147: C语言训练-角谷猜想 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long aj; cin>>aj; …… 题解列表 2024年01月15日 0 点赞 0 评论 73 浏览 评分:6.0
1147: C语言训练-角谷猜想 摘要:解题思路:注意事项:此题需要把算式写出来参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n; …… 题解列表 2024年01月15日 0 点赞 0 评论 63 浏览 评分:9.9
题解 1147: C语言训练-角谷猜想 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n; cin>>n; fo…… 题解列表 2024年01月15日 0 点赞 0 评论 107 浏览 评分:9.9
C语言训练-角谷猜想C解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); while(n!=1) { …… 题解列表 2024年02月19日 0 点赞 0 评论 92 浏览 评分:0.0