正文
增加 8 行删除 8 行
147 行未改动全部展开14814915015115215315415515615715815916016116217 行未改动180181182183184185186187188101 行未改动全部展开29029129229329429529629729829930027 行未改动147 行未改动全部展开long long score;/*card:记每个牌的点数num:记每种点数出现在的牌的数量col:记每张牌的花色sum:记所有牌点数的和niu:记牌的类型niu=0-10 无牛、牛一至九、牛牛tieban:记录铁板的点数,如果没有铁板则记为0。maxx:记录所有牌中最大的点数bomb:记录炸弹的点数,如果没有炸弹则记为0.*/}a[100007];unordered_map<string, int> hashmap;17 行未改动if(cards[0] == 'c') a[t3].col[i] = 2;if(cards[0] == 'd') a[t3].col[i] = 1;if(a[t3].card[i] > a[t3].maxx) {a[t3].maxx = a[t3].card[i];a[t3].idd = a[t3].col[i];} else if(a[t3].card[i] == a[t3].maxx && a[t3].col[i] > a[t3].idd)a[t3].idd = a[t3].col[i];}F(i, 1, 5) {101 行未改动全部展开else if(a[id1].idd < a[id2].idd)sf = 2;}}}if(sf == 1) a[id1].score += difen, a[id2].score -= difen;else a[id1].score -= difen, a[id2].score += difen;}int main() {scanf("%d%d%d", &useless, &t, &n);27 行未改动147 行未改动全部展开14814915015115215315415515615715815916016116217 行未改动180181182183184185186187188101 行未改动全部展开29029129229329429529629729829930027 行未改动147 行未改动全部展开long long score;/*card:记每个牌的点数num:记每种点数出现在的牌的数量col:记每张牌的花色sum:记所有牌点数的和niu:记牌的类型niu=0-10 无牛、牛一至九、牛牛tieban:记录铁板的点数,如果没有铁板则记为0。maxx:记录所有牌中最大的点数bomb:记录炸弹的点数,如果没有炸弹则记为0.*/}a[100007];unordered_map<string, int> hashmap;17 行未改动if(cards[0] == 'c') a[t3].col[i] = 2;if(cards[0] == 'd') a[t3].col[i] = 1;if(a[t3].card[i] > a[t3].maxx) {a[t3].maxx = a[t3].card[i];a[t3].idd = a[t3].col[i];} else if(a[t3].card[i] == a[t3].maxx && a[t3].col[i] > a[t3].idd)a[t3].idd = a[t3].col[i];}F(i, 1, 5) {101 行未改动全部展开else if(a[id1].idd < a[id2].idd)sf = 2;}}}if(sf == 1) a[id1].score += difen, a[id2].score -= difen;else a[id1].score -= difen, a[id2].score += difen;}int main() {scanf("%d%d%d", &useless, &t, &n);27 行未改动