Skip to content

Commit 735d233

Browse files
authoredOct 13, 2024
Update main.cpp
1 parent 86dcca9 commit 735d233

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed
 

‎main.cpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ using json = nlohmann::json;
66

77
using namespace std;
88

9-
#define unordered_set set
10-
119
// -----------------------------------------------------------------------------
1210

1311
int run(string op) {
@@ -33,13 +31,13 @@ unordered_set<string> get_luogu(uint64_t uid) {
3331
return ac_luogu_cf;
3432
}
3533

36-
unordered_set<string> get_codeforces(string name) {
34+
set<string> get_codeforces(string name) {
3735
string filename = "./data/" + name + ".json";
3836

3937
run("curl https://ojhunt.com/api/crawlers/codeforces/" + name + " -o " + filename);
4038

4139
ifstream f(filename);
42-
unordered_set<string> ac_cf;
40+
set<string> ac_cf;
4341

4442
auto problems = json::parse(f)["data"]["solvedList"];
4543
for (string problem : problems) {

0 commit comments

Comments
 (0)
Please sign in to comment.