当前位置:网站首页>1133: output family and friends string
1133: output family and friends string
2022-06-30 14:49:00 【I would, I think】
#include<string.h>
#include<iostream>
using namespace std;
int main()
{
char a[101];
char b[101];
cin.getline(a,101);
for(int i=0;i<strlen(a)-1;i++)
{
b[i]=a[i]+a[i+1];
cout<<b[i];
}
b[strlen(a)]=a[0]+a[strlen(a)-1];
cout<<b[strlen(a)];
return 0;
}边栏推荐
- val_ Loss decreases first and then increases or does not decrease but only increases
- [extensive reading of papers] sentimental analysis of online reviews with a hierarchical attention network
- ctfshow nodejs
- Sum of CCF digits (full mark code + problem solving idea) 201512-1
- Why is the resolution of the image generated by PHP GD library 96? How to change it to 72
- 立式加工中心的数控加工对刀具使用基本要求
- [buuctf] [geek challenge 2019] secret file
- DB2 SQL Error: SQLCODE=-206, SQLSTATE=42703
- Summary of use of laravel DCAT admin
- Machine learning feature selection
猜你喜欢
![[buuctf] [actf2020 freshman competition]exec1](/img/af/22051a5feb3c1f6d7201a483bde127.jpg)
[buuctf] [actf2020 freshman competition]exec1

2021-05-12

【BUUCTF】 Have Fun

Introduction to the construction and development of composer private warehouse

2021 geek challenge Web
![[extensive reading of papers] multimodal attribute extraction](/img/ec/546c107ac0d31deded7ca94fdf0e2d.jpg)
[extensive reading of papers] multimodal attribute extraction

XSS challenge (1-5) more detailed answers
![[geek challenge 2019] PHP problem solving record](/img/bf/038082e8ee1c91eaf6e35add39f760.jpg)
[geek challenge 2019] PHP problem solving record

Knowledge learned from the water resources institute project

CCF string matching (Full Score code + problem solving ideas + skill summary) March 3, 2014
随机推荐
[untitled]
On simple code crawling Youdao translation_ 0's problem (to be solved)
day02
[extensive reading of papers] a delicious recipe analysis framework for exploring multi modal recipes with variable attributes
Programming exercises: special numbers (problem solving ideas + code implementation)
Uniapp upload image method
CCF image rotation (Full Score code + problem solving idea) 201503-01
CCF command line options (Full Score code + problem solving ideas + skill summary) March 3, 2014
Effect of shadow around the block after mouse over
Att & CK red team evaluation field (I)
Solution cannot use a scalar value as an array
Sum of CCF digits (full mark code + problem solving idea) 201512-1
Summary of FTP network protocol learning
Use of laravel repository mode
数控加工中心打刀缸工作原理及故障处理
[extensive reading of papers] sentimental analysis of online reviews with a hierarchical attention network
Add attributes to multimode
CCF Z-scan (full mark code + problem solving ideas) 201412-2
Ctfshow getting started with the web (ThinkPHP topic)
Logiciel de récupération de données easyrecovery15 téléchargement