10878 - Decode the tape
来源:互联网 发布:平面设计书籍 知乎 编辑:程序博客网 时间:2024/04/27 06:06
#include <iostream>#include <cstring>#include <cstdio>using namespace std;int main(){ char str[15]; char c; memset(str,0,sizeof(str)); while(gets(str)) { c=0; if(str[2]=='o') c+=64; if(str[3]=='o') c+=32; if(str[4]=='o') c+=16; if(str[5]=='o') c+=8; if(str[7]=='o') c+=4; if(str[8]=='o') c+=2; if(str[9]=='o') c+=1; if(c!=0) cout<<c; memset(str,0,sizeof(str)); } return 0;}
- 10878 - Decode the tape
- 10878 - Decode the tape
- 10878 - Decode the tape
- 10878 - Decode the tape
- 10878 - Decode the tape
- 10878 - Decode the tape
- 10878 - Decode the tape
- 10878 - Decode the tape
- 10878 - Decode the tape
- 10878 - Decode the tape
- 10878 - Decode the tape
- 10878 - Decode the tape
- 10878 - Decode the tape
- UVa 10878 - Decode the tape
- uva 10878 Decode the tape
- uva-10878 - Decode the tape
- uva 10878 - Decode the tape
- UVaOJ 10878 - Decode the tape
- 409 - Excuses, Excuses!
- USCAO section 2.3 Zero Sum(dfs)
- FFmpeg完美入门【5】-FFmpeg架构之文件结构
- 关于公路车还是山地车的问题,山地车为什么跑柏油马路不合适?
- FFmpeg完美入门【6】-FFmpeg架构之I\O模块分析
- 10878 - Decode the tape
- HDU 1690 Bus System
- 高性能WEB开发 - HTTP服务器篇
- 10815 - Andy's First Dictionary
- <<Git图解>>笔记
- 644 - Immediate Decodability
- 嵌入式应用中CGI编程中POST、GET及环境变量详解
- 10382 - Watering Grass-----------(题目简单)卡精度啊!!wa了8次!
- 10115 - Automatic Editing