64位整数乘法
#include<bits/stdc++.h>
using namespace std;
long long a, b, c, ans;
__int128 a1, b1, c1, ans1;
int main(){
cin >> a >> b >> c;
a1 = a, b1 = b, c1 = c;
ans1 = a1 * b1 % c1;
ans = ans1;
cout << ans << '\n';
return 0;
}
是个狠人
%%%