Problem pascal
User Usu
Submission Time 2025-08-13 09:19:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pascal.cpp:1:2: error: invalid preprocessing directive #inlcude; did you mean #include?
1 | #inlcude <bits/stdc++.h>
| ^~~~~~~
| include
pascal.cpp: In function ‘int main()’:
pascal.cpp:19:2: error: ‘cin’ was not declared in this scope
19 | cin >> n >> m;
| ^~~
pascal.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #inlcude <bits/stdc++.h>
pascal.cpp:21:2: error: ‘cout’ was not declared in this scope
21 | cout << combination(n, m);
| ^~~~
pascal.cpp:21:2: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?