apcs0404-C-CPP:顯卡爭霸戰(Graphics Card Battle)
# 題目
APCS 模擬團隊 OJ apcs0404-C-CPP: 顯卡爭霸戰 (Graphics Card Battle)
# 解題思路
#include<bits/stdc++.h>using namespace std;#define Rabbir_Reaper ios_base::sync_with_stdio(0); cin.tie(0);int find(int x,vector<int> &boss){ if(boss[x] < 0) return x; return boss[x] =...
more...







