Problem nombor
User blob
Submission Time 2023-12-16 10:51:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nombor.cpp:1:2: error: invalid preprocessing directive #Include; did you mean #include?
1 | #Include <bits/stdc++.h>
| ^~~~~~~
| include
nombor.cpp: In function ‘int main()’:
nombor.cpp:22:5: error: ‘cin’ was not declared in this scope
22 | cin >> X;
| ^~~
nombor.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #Include <bits/stdc++.h>
nombor.cpp:25:5: error: ‘cout’ was not declared in this scope
25 | cout << result << endl;
| ^~~~
nombor.cpp:25:5: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
nombor.cpp:25:23: error: ‘endl’ was not declared in this scope
25 | cout << result << endl;
| ^~~~
nombor.cpp:1:1: note: ‘std::endl’ is defined in head