diff --git a/day7/P3372/P3372.cpp b/day7/P3372/P3372.cpp index 0793c99..83b7654 100644 --- a/day7/P3372/P3372.cpp +++ b/day7/P3372/P3372.cpp @@ -1,9 +1,7 @@ #include using namespace std; -const int MAX_N = 1e5+5; +// const int MAX_N = 1e5+5; int main(){ - int n,m; - } \ No newline at end of file diff --git a/test.cpp b/test.cpp index dc421a6..bafb007 100644 --- a/test.cpp +++ b/test.cpp @@ -1,28 +1,4 @@ -#include -using namespace std; -#define int long long - - - -signed main(){ - int b,e,m; - #ifdef OITEST - b=2;e=10;m=9; - #endif - #ifndef OITEST - cin>>b>>e>>m; - #endif +#include +int main(){ - int r=1; - while(e>0){ - if (e%2==1) { - r=(r*b)%m; - } - e=(e>>1); - b=(b*b)%m; - } - cout<