1116: IP判断(python) 摘要:解题思路:1、EOF即为"End of file"缩写2、四个整数中不允许有前导零存在:即当数字长度大于一位时(0是可以的),第一位为0的数都是含有前导零的数参考代码:while True: t…… 题解列表 2023年01月17日 0 点赞 0 评论 487 浏览 评分:9.9
明明的随机数(水题) 摘要:```c #include int main(){ int n,i,j,k=0,a[101],b[101],t; scanf("%d",&n); for(i=0;i…… 题解列表 2023年01月18日 0 点赞 0 评论 255 浏览 评分:9.9
数列(水题,测试数据有问题) 摘要:```c #include long long power(int k,int j){ long long ans=1; while(j){ ans*=k; j--; }…… 题解列表 2023年01月18日 0 点赞 0 评论 362 浏览 评分:9.9
1244: 破解简单密码 摘要:```cpp #include using namespace std; int main() { string s; while(cin>>s) { …… 题解列表 2023年01月18日 1 点赞 0 评论 350 浏览 评分:9.9
C语言训练-求矩阵的两对角线上的元素之和(水题) 摘要:```c #include int main(){ int n,a[10][10],i,j,sum=0; scanf("%d",&n); for(i=0;i…… 题解列表 2023年01月18日 0 点赞 0 评论 310 浏览 评分:9.9
1463: 蓝桥杯基础练习VIP-Sine之舞 摘要:参考代码:n = int(input())def an(n): for i in range(1, n + 1): if i == 1: print('…… 题解列表 2023年01月18日 0 点赞 0 评论 260 浏览 评分:9.9
2794: 求平均年龄 摘要:```cpp #include #include using namespace std; int main() { int n,m,i=0; double sum=0;…… 题解列表 2023年01月18日 0 点赞 0 评论 606 浏览 评分:9.9
2801: 奇数求和 摘要:```cpp #include using namespace std; int main() { int m,n,t,s=0; cin>>m>>n; if(m>…… 题解列表 2023年01月18日 0 点赞 0 评论 484 浏览 评分:9.9
2998: 电影票 摘要:```cpp #include using namespace std; int main() { int x; cin>>x; cout…… 题解列表 2023年01月18日 0 点赞 0 评论 502 浏览 评分:9.9
1333: [NOIP2004]合并果子 摘要:```cpp #include #include using namespace std; const int N(30005); long long a[N],b[N]; int mai…… 题解列表 2023年01月18日 0 点赞 0 评论 344 浏览 评分:9.9