Finish: Luogu Beginer Conest(Feb)

This commit is contained in:
2025-02-14 13:13:39 +00:00
parent 377cd93809
commit cd79a24351
6 changed files with 175 additions and 1 deletions

View File

@ -0,0 +1,27 @@
#include <bits/stdc++.h>
#define lo long long
#define INF INT_MAX
#define LLM LONG_LONG_MAX
using namespace std;
const lo N = 1e7 + 10;
/*
toothless. #17
@fredcss_dev
*/
signed main() {
lo n, x, y;
cin >> n >> x >> y;
lo cw = (y - x + n) % n;
lo cnt = n - cw;
if (cw < cnt) {
cout << "Clockwise Loop" << endl;
} else if (cw > cnt) {
cout << "Counter-clockwise Loop" << endl;
} else {
cout << "\"Wonderful\"" << endl;
}
return 0;
}