Problem sixandseven
User Froakyu
Submission Time 2026-07-01 12:23:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sixandseven.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
1 | #include bits/stdc++
| ^~~~
sixandseven.cpp: In function ‘int main()’:
sixandseven.cpp:7:2: error: ‘cin’ was not declared in this scope
7 | cin >> x;
| ^~~
sixandseven.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #include bits/stdc++
sixandseven.cpp:10:4: error: ‘cout’ was not declared in this scope
10 | cout << "YES";
| ^~~~
sixandseven.cpp:10:4: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
sixandseven.cpp:14:9: error: expected ‘;’ before ‘}’ token
14 | x/=10
| ^
| ;
15 | }
| ~
sixandseven.cpp:17:2: error: ‘cout’ was not declared in this scope
17 | cout <<