题解 1388: GC的苦恼

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

GC的苦恼-题解(C语言代码)

摘要:#include #include #include #include //为了写程序方便,添加了许多库函数 int main() { int a,b,c; while(~scan……

分类讨论以及循环输入

摘要:解题思路:注意事项:参考代码:while True:    a=int(input())    if a<=100 and a>=90:        print(&#39;A&#39;)    el……

1388: GC的苦恼

摘要:解题思路:注意事项:参考代码:while True:    try:        num = int(input())        if 90<=num<=100:            prin……

题解 1388: GC的苦恼

摘要:解题思路:也是使用字符数组来实现的,这里还用到了pow函数和strlen函数注意事项:参考代码:#include<stdio.h>#include<string.h>#include<math.h>i……

简单python走起

摘要:解题思路:注意事项:参考代码:while True:    n=int(input())    if 90<=n<=100:        print(&#39;A&#39;)    elif 75<……

1388: GC的苦恼,c++代码实现

摘要:##1388: GC的苦恼 ***废话多说,直接上代码*** ```cpp #include using namespace std; int main(){ int a; whil……

GC的苦恼(JAVA)

摘要:解题思路:注意事项:连续输入时使用while(sc.hasNext())参考代码:import java.util.Scanner; public class Main { public s……

GC的苦恼-题解(C++代码)

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n; while(cin>>n) { ……