2018年11月27日

1006 Sign In and Sign Out

摘要: 水题~ #include<iostream> #include<algorithm> #include<string.h> #define maxn 25 using namespace std; typedef long long ll; char s[maxn],ttime[10]; int m 阅读全文

posted @ 2018-11-27 21:22 FTA_Macro 阅读(97) 评论(0) 推荐(0) 编辑

1005 Spell It Right

摘要: 开个string数组存数字英文。 因为数为10100,所以和最多为900,int求和就够了。水题~ #include<iostream> #include<algorithm> #include<string.h> #define maxn 25 using namespace std; typed 阅读全文

posted @ 2018-11-27 20:58 FTA_Macro 阅读(94) 评论(0) 推荐(0) 编辑

1023 Have Fun with Numbers

摘要: 因为最多有20个字符,int和long long都不行,所以只能用字符串操作。水题~ #include<iostream> #include<algorithm> #include<string.h> #define maxn 25 using namespace std; typedef long 阅读全文

posted @ 2018-11-27 20:10 FTA_Macro 阅读(67) 评论(0) 推荐(0) 编辑

导航