# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
20177 | rlatnwls | 괄호 (kriii4_R) | C++98 | 2000 ms | 1080 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include<cstdio>
int res = 1;
int i = 1;
int j = 1;
int res2 = 1;
int n= 0 , m = 0;
int gop1(int g){
i= 1;
res = 1;
for(i; i <= (g/2)+1; i++)
res = (res* i)%1000000007;
return res;
}
int gop2(int g){
i = (g/2)+2;
for(i; i<= g; i++){
res = (res* i)%1000000007;
}
return res;
}
int gop3(int g){
j = 1;
res2 =1;
for(j ; j <=g/2; j++){
res2 = (res2*m)%1000000007;
}
return res2;
}
int main(){
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |