Cod sursa(job #3132895)
| Utilizator | Data | 24 mai 2023 11:26:16 | |
|---|---|---|---|
| Problema | Invers modular | Scor | 0 |
| Compilator | cpp-64 | Status | done |
| Runda | Arhiva educationala | Marime | 0.23 kb |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
ifstream in("inversmodular.in");
ofstream out("inversmodular.out");
int main()
{
ll a, n;
in >> a >> n;
out << n-1;
return 0;
}
