当前位置:网站首页>%S format character
%S format character
2022-07-04 15:04:00 【Zaltana】
Input string , Then output the front 3 Characters , Required percentage 6 Column , Right alignment .
Format
Input format : Input string
Output format : Output string
Examples
Input :Wendy
Output : Wen
#include<bits/stdc++.h>
using namespace std;
int main( )
{
char s[100];
gets(s);
printf("%6.3s",s);
return 0;
}
边栏推荐
- Redis的4种缓存模式分享
- Summary of common problems in development
- 炒股网上开户安全吗?会不会被骗。
- Numpy notes
- TechSmith Camtasia studio 2022.0.2 screen recording software
- Redis 解决事务冲突之乐观锁和悲观锁
- Building intelligent gray-scale data system from 0 to 1: Taking vivo game center as an example
- C1 certification learning notes 3 -- Web Foundation
- openresty 限流
- LVGL 8.2 keyboard
猜你喜欢
Ranking list of databases in July: mongodb and Oracle scores fell the most
They are all talking about Devops. Do you really understand it?
Helix Swarm中文包发布,Perforce进一步提升中国用户体验
LVGL 8.2 text shadow
《opencv学习笔记》-- 线性滤波:方框滤波、均值滤波、高斯滤波
Deep learning neural network case (handwritten digit recognition)
Introduction to modern control theory + understanding
从0到1建设智能灰度数据体系:以vivo游戏中心为例
深度学习 神经网络案例(手写数字识别)
Guitar Pro 8win10 latest guitar learning / score / creation
随机推荐
Numpy notes
Dialogue with ye Yanxiu, senior consultant of Longzhi and atlassian certification expert: where should Chinese users go when atlassian products enter the post server era?
宽度与对齐
Kubernets pod exists finalizers are always in terminating state
音视频技术开发周刊 | 252
03 storage system
Yyds dry goods inventory # solve the real problem of famous enterprises: continuous maximum sum
Node mongodb installation
numpy笔记
[differential privacy and data adaptability] differential privacy code implementation series (XIV)
Redis 發布和訂閱
Techsmith Camtasia Studio 2022.0.2屏幕录制软件
Combined with case: the usage of the lowest API (processfunction) in Flink framework
Leetcode 1200 minimum absolute difference [sort] The Path of leetcode for heroding
IO流:节点流和处理流详细归纳。
Analysis of nearly 100 million dollars stolen and horizon cross chain bridge attacked
LVLG 8.2 circular scrolling animation of a label
Five minutes of machine learning every day: why do we need to normalize the characteristics of numerical types?
UFO: Microsoft scholars have proposed a unified transformer for visual language representation learning to achieve SOTA performance on multiple multimodal tasks
Five minutes of machine learning every day: how to use matrix to represent the sample data of multiple characteristic variables?