[编程入门]报数问题-------(Python详解)------13行解决 摘要:注意: -----他是一个圈每次到3时退出这个圈!!! 答案如下: ```python n=int(input()) t=[i for i in range(1,n+1)] a=1 …… 题解列表 2021年11月14日 0 点赞 0 评论 481 浏览 评分:0.0
非常精简,一个数组,两个循环(C语言)。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b=0,n=9,x[9]={0}; while(n--&&scanf("%d",&a…… 题解列表 2021年11月14日 0 点赞 0 评论 675 浏览 评分:0.0
[竞赛入门]简单的a+b 摘要:#include<stdio.h> int main() { int a,b; while(scanf("%d %d",&a,&b)==2) printf("%d\n",a+b); …… 题解列表 2021年11月14日 0 点赞 0 评论 342 浏览 评分:0.0
[编程入门]结构体之时间设计详解-------(Python) 摘要:注意: ——moon1中的月份天数不要写错 代码如下: ```python year,moon,day=map(int,input().split()) def leapyear(y…… 题解列表 2021年11月14日 0 点赞 0 评论 417 浏览 评分:0.0
最大公约数与最小公倍数 摘要:#include<stdio.h> int main() { int x,y,t; int i,k; scanf("%d %d",&x,&y); if(x>y){ t=x…… 题解列表 2021年11月14日 0 点赞 0 评论 189 浏览 评分:0.0
简单易懂1855 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N,i; scanf("%d",&N); for(i=0;i<N;i++) printf("A") ; …… 题解列表 2021年11月14日 0 点赞 0 评论 391 浏览 评分:0.0
送分的!真的 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a; scanf("%s",&a); printf("%c",a+32); retur…… 题解列表 2021年11月15日 0 点赞 0 评论 399 浏览 评分:0.0
酱紫卷,最后一题! 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,c,d,e,f,g,h,i,j; scanf("%d%d%d%d%d%d%d%d%d…… 题解列表 2021年11月15日 0 点赞 0 评论 463 浏览 评分:0.0
真的最后亿题! 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){int a,b;scanf("%d",&a);printf("%o",a);return 0;}…… 题解列表 2021年11月15日 0 点赞 0 评论 590 浏览 评分:0.0
题解 1067: 二级C语言-分段函数 摘要:还能更简单吗#include<stdio.h> #include<math.h> int main() { double x; scanf("%lf",&x); printf("%.…… 题解列表 2021年11月15日 0 点赞 0 评论 344 浏览 评分:0.0