#include<iostream>#include<algorithm>using namespace std;struct node //定义结构体{ int num;//数据 int count;//出现的次数 计数};bool cmp(node a, node b)//排序{ if (a.c Read More
#include <stdio.h> #define MAXN 64 int a[MAXN + 1][MAXN + 1] = { 0 }; void gamecal(int k, int n)//处理编号k开始的n个选手的日程 { int i, j; if (n == 2) { a[k][1] = Read More
#include <stdio.h>#include <windows.h>#include<string.h>int main() { int oldprice, price = 0, i = 0; printf("请首先设置商品的真实价格:"); scanf("%d", &oldprice); Read More