Your code is syntactically incorrect.
I assume the correct code is this-->
#include<iostream>
using namespace std;
int main() {
// Write your code here
int x;
cin>>x;
int res=0;
for (int i=1;i<=5;i++){
res = 3*i+2;
}
cout <<res;
}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…