2021年1月20日

B1028 人口普查

摘要: #include <cstdio> #include <string.h> struct info{ char name[10]; char birth[15]; }temp,max,min; int main(){ int k,count=0; char str1[15]="2014/09/07" 阅读全文

posted @ 2021-01-20 21:42 臭小孩 阅读(31) 评论(0) 推荐(0)

易忘点

摘要: long long scanf中是%lld,printf中是%lld double scanf中是%lf,printf中是%f 两个相同类型的结构体可以直接用=使其相等 struct example{ }*p,这种写法貌似会把 字符串数组大小至少比题目给出的大小多一位,因为要存储\n int : - 阅读全文

posted @ 2021-01-20 21:39 臭小孩 阅读(39) 评论(0) 推荐(0)

导航