当前位置:网站首页>Informatics Olympiad all in one 1003: aligned output
Informatics Olympiad all in one 1003: aligned output
2022-06-29 14:57:00 【Fengyaowen】
Title source :http://ybt.ssoier.cn:8088/problem_show.php?pid=1003
The time limit : 1000 ms Memory limit : 66536 KB
Submission number : 171618 Passing number : 53905
【 Title Description 】
Read in three integers , Per integer 8 The width of characters , Align them right and output them , Output three integers in sequence according to the format requirements , Separated by a space .
【 Input 】
There is only one line , Contains three integers , Integers are separated by a space .
【 Output 】
There is only one line , Output three integers in sequence according to the format requirements , Separated by a space .
【 sample input 】
123456789 0 -1【 sample output 】
123456789 0 -1Two output modes , An input / output stream plus format control , Another standard input / output
#include<iostream>
#include<stdio.h>
#include <iomanip>
using namespace std;
int main(){
int a,b,c;
// cin>>a>>b>>c;
// cout<<setw(8)<<a<<" "<<setw(8)<<b<<" "<<setw(8)<<c<<" "<<endl;
scanf("%d%d%d",&a,&b,&c);
printf("%8d %8d %8d",a,b,c);
return 0;
}边栏推荐
- Opengauss community establishes sig knowledgegraph
- 揭秘!付费会员制下的那些小心机!
- 信息学奥赛一本通1003:对齐输出
- Chapter 11 of canvas canvas status
- Asynchronous artifact completable future
- Slow bear market, bit Store provides stable stacking products to help you cross the bull and bear
- I want to search the hundreds of nodes in the data warehouse. Can I check a table used in the SQL
- June 27 talk SofiE
- Analysis of istio -- observability
- 《canvas》之第5章 文本操作
猜你喜欢

Chinese garbled code output from idea output station

卫龙更新招股书:年营收48亿 创始人刘卫平家族色彩浓厚

Paper study -- accurate accounting of annual total runoff control rate considering the interannual variation characteristics of rainfall

Build your own website (19)

三角函数对应在平面坐标上画圆

CKS CKA CKAD 将终端更改为远程桌面

Practical application cases of drives

The 5th China software open source innovation competition | opengauss track live training

Transport layer selective ACK

微信公众号—菜单
随机推荐
ModStartBlog 现代化个人博客系统 v5.2.0 主题开发增强,新增联系方式
我想在数仓的几百个节点里面 查找一个都有哪些sql里面用到了某张表 能查吗
卫星运动的微分方程
wieshark抓包mysql协议简单分析
信息学奥赛一本通1003:对齐输出
word如何自动生成目录
驱动器实际运用案例
文本预处理库spaCy的基本使用(快速入门)
关于项目采购管理,这些你需要知道
校园转转二手市场源码
How bad can a programmer be?
利用多态实现简单的计算器
《canvas》之第6章 图片操作
Class template case - array class encapsulation
Differences between @resource and @autowired annotations automatically injected:
EMC-浪涌防护及退耦设计
JS will have variable promotion and function promotion
openGauss社区成立SIG KnowledgeGraph
[practical chapter of correlation analysis] why can't Bi software do correlation analysis
威高血液净化冲刺香港:年营收29亿 净利降12.7%