Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
45335 陈梓睿 22破解密码 C++ Accepted 2 MS 280 KB 339 2023-03-18 16:55:59

Tests(2/2):


Code:

#include<iostream> #include<cstdio> #include<cstring> using namespace std; int main(){ string a; getline(cin,a); int i = 1,b = 0; while(b<=int(a.size())){ if(i == 4){ i = 1; } if(i == 1){ cout<<a[b]; } i++; b++; } }