0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-08 13:58:48 +00:00

[愚人节比赛 2022] 辉光之针的小人族 ~ Little Princess

R72462119
This commit is contained in:
Baoshuo Ren 2022-03-27 10:23:42 +08:00
parent e8604b8c2c
commit a1286be606
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

19
Luogu/T232302/T232302.cpp Normal file
View File

@ -0,0 +1,19 @@
#include <iostream>
using std::cin;
using std::cout;
const char endl = '\n';
long long a, b, c, ans;
int main() {
cin >> a >> b;
a ^= 9961, b ^= 9961;
a += 17;
b += a + 17;
a *= 81, b *= 81;
c = a + b - 4;
ans = (c / 10) * 10 + 1;
cout << ans % 9 << endl;
return 0;
}