随笔分类 -  比赛--AtCoder

摘要:A题 分析:单词接龙,傻逼题 1 #include "iostream" 2 #include "cstdio" 3 #include "cstring" 4 #include "string" 5 using namespace std; 6 string a,b,c; 7 int main() 阅读全文
posted @ 2017-04-29 23:55 wolf940509 阅读(164) 评论(0) 推荐(0)
摘要:A题 分析:24进制转换 1 #include<iostream> 2 using namespace std; 3 int main() 4 { 5 int a,b; 6 while(cin>>a>>b){ 7 cout<<(a+b)%24<<endl; 8 } 9 return 0; 10 } 阅读全文
posted @ 2017-03-28 15:22 wolf940509 阅读(176) 评论(0) 推荐(0)