本題有 20 筆測資,每一筆都代表一盤棋。前 10 個測資的對手是 easy_AI,而後 10 個測資的對手是 medium_AI。對於每筆測資,若同學能獲得 AC,則代表該局獲勝,獲得 WA 則反之。
在上傳時,請在程式開頭加入:
#include "lib1012.h"
然後是你實作的 agent 函式:
string agent() {
// your code
}
上傳範例:(建議不要修改前三行)
#include "lib1012.h"
#include <bits/stdc++.h>
using namespace std;
string agent() {
return "sprout";
}
No. | Testdata Range | Score |
---|