Problem prime
User John
Submission Time 2025-01-28 21:30:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prime.cpp: In function ‘int main()’:
prime.cpp:6:37: error: expected ‘;’ before ‘double’
6 | ios::sync_with_stdio(0); cin.tie(0)
| ^
| ;
7 | double n; cin >> n;
| ~~~~~~
prime.cpp:7:19: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
7 | double n; cin >> n;
| ^
| yn