Codeforces Gym 100623I Problem I. Important Wires
题目传送门:http://codeforces.com/gym/100623/attachments
题解:这道题...说了一大堆没用的....如果你看了题不会做再看代码...你会大喊我去....
Code:
#include <iostream>
#include <cstdio>
#include <cstring>using namespace std;int main()
{freopen("important.in","r",stdin);freopen("important.out","w",stdout);int n;while(cin>>n){cin.get();cout<<"Yes"<<endl;string temp;for(int i=1;i<=n;i++){getline(cin,temp);if(i==1)cout<<"~"<<temp[0]<<"|";cout<<temp[0];i==n?cout<<endl:cout<<"|";}}return 0;
}
Codeforces Gym 100623I Problem I. Important Wires相关推荐
- Codeforces Gym 100342J Problem J. Triatrip 求三元环的数量 bitset
Problem J. Triatrip Time Limit: 20 Sec Memory Limit: 256 MB 题目连接 http://codeforces.com/gym/100342/at ...
- Codeforces gym 100685 A. Ariel 暴力
A. Ariel Time Limit: 20 Sec Memory Limit: 256 MB 题目连接 http://codeforces.com/gym/100685/problem/A Des ...
- Codeforces Gym 100513G G. FacePalm Accounting 暴力
G. FacePalm Accounting Time Limit: 20 Sec Memory Limit: 256 MB 题目连接 http://codeforces.com/gym/100513 ...
- Codeforces Gym 100187M M. Heaviside Function two pointer
M. Heaviside Function Time Limit: 20 Sec Memory Limit: 256 MB 题目连接 http://codeforces.com/gym/100187/ ...
- Codeforces Gym 100187D D. Holidays 排列组合
D. Holidays Time Limit: 20 Sec Memory Limit: 256 MB 题目连接 http://codeforces.com/gym/100187/problem/D ...
- Codeforces gym 100685 C. Cinderella 水题
C. Cinderella Time Limit: 20 Sec Memory Limit: 256 MB 题目连接 http://codeforces.com/gym/100685/problem/ ...
- codeforces Gym 100187B B. A Lot of Joy
B. A Lot of Joy Time Limit: 20 Sec Memory Limit: 256 MB 题目连接 http://codeforces.com/gym/100187/proble ...
- Codeforces Gym 101173 CERC 16 D BZOJ 4790 Dancing Disks
Codeforces Gym 101173 CERC 16 D & BZOJ 4790 Dancing Disks 强烈安利这道构造题目,非常有意思. 这里用到的思想是归并排序! 多路归并排序 ...
- Codeforces Gym 101086 M ACPC Headquarters : AASTMT (Stairway to Heaven)
Codeforces Gym 101086 M ACPC Headquarters : AASTMT (Stairway to Heaven) 题目来源: Codeforces 题意: 给出一些比赛, ...
最新文章
- Python chardet 字符编码判断
- HTML / img src 使用绝对路径注意事项
- php 正则 菜鸟,PHP正则表达式基础入门
- NLog日志写文件的一个性能问题
- 对pca降维后的手写体数字图片数据分类_【AI白身境】深度学习中的数据可视化...
- 一个符合SEO优化标准的网站应具备哪些特征?
- 斐波那契数列 青蛙跳台阶 变态跳台阶
- 目标检测二十年间的那些事儿——从传统方法到深度学习
- 网站锁定php文件命令,PHP文件的锁定机制
- webservice 完整视频教程
- 概率论——负二项随机变量
- 《华为研发》阅读 - 15 (分解“满汉全席”,“先谋而后动”)
- 老板要我开发一个OA多级审批流(干货满满)
- 在Mac下载安装win10虚拟机教程及分辨率等问题。
- 获取海拔高度. 实时气压
- 相亲角、地摊,暗访小县城的夜市
- [面试笔试整理1]:深度学习机器学习面试问题准备(必会)
- 收获与努力同行——2015年总结
- kali使用笔记本自带无线网卡_生活日常(教你笔记本电脑如何正确使用WiFi)
- linux环境中英文切换配置以及乱码问题
热门文章
- C# 汉字字符取模韩语日语意大利语俄语法语西班牙兼并葡萄牙等 任意语言 任意大小 任意字体 任意排列 字符汉字取模及显示编码unicode
- 电磁场与磁路理论基础 (总结收藏)
- 第二届网刃杯 ICS+Misc wp
- 开机 又称为启动计算机,电脑关机又开机怎么回事
- python 爬取搞笑视频_Python爬取知乎上搞笑视频,一顿爆笑送给大家
- 六,WiFi天猫精灵零配详解
- 1、企业级项目测试报告模板
- 联合利华10亿欧元投资“洁净未来”;乐高上半年在中国新开零售店30家 | 美通企业日报...
- Mac下xampp开机启动
- php countchars,PHP count_chars()函数讲解