Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
119775 | 刘珩宇 | 22破解密码 | C++ | Accepted | 1 MS | 276 KB | 386 | 2025-05-18 19:15:21 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int i,a,x,y,s; char n[101]={0}; cin>>n; x=strlen(n); for(i=0;i<x;i++){ if(i%3==0){ cout<<n[i]; } } return 0; }