1391: 震宇大神的杀毒软件
摘要:解题思路:注意事项:参考代码:while True: try: a=list(map(int,input().strip().split())) b = a[1:] b.sort(reverse……
编写题解 1391: 震宇大神的杀毒软件(冒泡排序)
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int n,temp; int a[100]; whi……
c语言-震宇大神的杀毒软件
摘要:此题注意两点即可:
(1)对数列进行降序排列,可选择冒泡、选择排序等;
(2)注意输出格式,别忘了最后的换行,否则会提示格式错误;
.split())) mas.pop(0) mas.sort(reverse=T……
震宇大神的杀毒软件-题解(C语言代码)
摘要: #include
#include
typedef struct
{
int *data;
int len;
}……
震宇大神的杀毒软件-题解(C++代码)
摘要:解题思路:利用sort注意事项:逆序输出参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ in……
震宇大神的杀毒软件-题解(C语言代码)
摘要:#include<stdio.h>int main(){ int n,i,j,temp; int a[100]; while((scanf("%d",&n))!=EOF){ for(i=0;i<n;……
震宇大神的杀毒软件-题解(C++代码)
摘要:解题思路:注意事项:参考代码:#include<iostream>
using namespace std;
int main()
{
int n,i,j,temp;
int a[100……