文章列表

筛选

L1-033 出生年

摘要://可以在输入年份数上加10000这样可以更好解决前边补零的问题#include<iostream>#include<cstring>using&nbs……

L1-025 正整数A+B

摘要://获取字符串字符串判断#include<iostream>usingnamespacestd;stringa,b;bool……

L1-023 输出GPLT

摘要://注意细节处理,最后的输出#include<iostream>usingnamespacestd;strings;inta……

L1-020 帅到没朋友

摘要://注意若朋友圈只有一个朋友(自己)也算没朋友//行末不能有空格#include<iostream>#include<iomanip>&nb……

L1-009 N个数求和

摘要://通分约分即可#include<iostream>usingnamespacestd;intn,s,d=1;……

L1-006连续因子

摘要://暴力,不开longlong也无妨注意取因子的方式和范围#include<iostream>usingnamespacestd;……