Problem pascal
User YongXin
Submission Time 2023-06-22 19:19:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pascal.cpp: In function ‘int main()’:
pascal.cpp:6:19: error: expected ‘;’ before ‘for’
6 | c=(c>r/2)?r-c+1:c
| ^
| ;
7 | for (long long i=r-c+1;i<r;++i) a*=i;
| ~~~
pascal.cpp:7:25: error: ‘i’ was not declared in this scope
7 | for (long long i=r-c+1;i<r;++i) a*=i;
| ^