Add FZOI Codes

This commit is contained in:
2024-06-26 22:14:00 +08:00
parent 8f564ca60e
commit b80791cfad
49 changed files with 1653 additions and 0 deletions

View File

@ -0,0 +1,18 @@
#include <bits/stdc++.h>
#define int long long
using namespace std;
int A, B, P, ANS;
__int128 a, b, p, ans;
signed main()
{
cin >> A >> B >> P ;
a = A;
b = B;
p = P;
ans = a * b % p;
ANS = ans;
cout << ANS ;
return 0;
}