Problem nprime2
User ZacharyTan2010
Submission Time 2024-04-03 16:06:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nprime2.cpp: In function ‘int main()’:
nprime2.cpp:6:26: error: expected ‘;’ before ‘cin’
6 | srand(time(nullptr))
| ^
| ;
7 | cin>>x;if(x==1){cout<<"2";}
| ~~~