题解 1391: 震宇大神的杀毒软件

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

筛选

震宇大神的杀毒软件

摘要:解题思路:这里使用选择排序先排序,然后逆序输出即可注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n; int a[100]; w……

1391: 震宇大神的杀毒软件 6

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n,m[100];    while (~scanf("%d",&n))……

1391: 震宇大神的杀毒软件

摘要:解题思路:注意事项:参考代码:while True: try: a=list(map(int,input().strip().split())) b = a[1:] b.sort(reverse……

注意换行和列表清空

摘要:解题思路:注意事项:参考代码:while True:    a=list(map(int,input().split()))    a=a[1:]    b=sorted(a,reverse=True……

思路简单清晰的解法

摘要:解题思路:看过python列表操作的小伙伴应该都能看得懂注意事项:参考代码:while True:    l1 = list(map(int, input().split()))    l1.pop(……

我美吗!

摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() {  int i,j,n,a[100],t;  while(scanf("%d",&n)!=EOF) ……