1246库函数解法(Python) 摘要:解题思路:注意事项:太晚了,先睡了,想起来了再写吧参考代码:from datetime import datetimeimport sysfor line in sys.stdin: line …… 题解列表 2022年11月11日 0 点赞 0 评论 374 浏览 评分:0.0
蓝桥杯基础练习VIP-FJ的字符串 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;void fun(int n){ if(n==1) cout<<char(6…… 题解列表 2022年11月11日 0 点赞 0 评论 292 浏览 评分:0.0
结构体之成绩统计2 摘要:#include<stdio.h>#include<malloc.h>struct student { char id[20]; char name[30]; int score[3…… 题解列表 2022年11月11日 0 点赞 0 评论 349 浏览 评分:0.0
strlen函数在visual stdio2022里是算上\n的在他这编译器上则不算害我搞了好久 摘要:解题思路:注意事项:参考代码:在这里的编译器#include<stdio.h>#include<string.h>void main(){ char a[101]={0}; char d[…… 题解列表 2022年11月11日 0 点赞 2 评论 700 浏览 评分:0.0
do while循环 + fabs( )浮点数绝对值函数的使用,非常简单 摘要: #include #include int main() { double x, m, n; scanf("%lf", &x); n = x; do { …… 题解列表 2022年11月11日 0 点赞 0 评论 334 浏览 评分:0.0
编写题解 2939: 最匹配的矩阵 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>#include<stdlib.h>#define MAX_INT ~((unsigned int)0)…… 题解列表 2022年11月12日 0 点赞 0 评论 387 浏览 评分:0.0
用比较易懂的方法来弄这个东西 摘要:解题思路:首先要清楚这个题目的要求:分开糖果的这个动作是同时进行的,也就是说,第一个传给第二个人的同时,第二个也在传给第三个,第三个又传给....直到最后一个传给第一个人。可以用两个数组来进行解题,一…… 题解列表 2022年11月12日 0 点赞 0 评论 312 浏览 评分:0.0
编写题解 2950: 素数回文数的个数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<stdlib.h>#include<math.h>int main(){ in…… 题解列表 2022年11月12日 0 点赞 0 评论 517 浏览 评分:0.0
C语言,另类的思路,代码少 摘要: 具体思路我就不说了,看看就好了,因为有一些小瑕疵,辩证地看待,但是应该比较好理解 #include #include int main() { double a, b; …… 题解列表 2022年11月12日 0 点赞 0 评论 372 浏览 评分:0.0
[编程入门]猴子吃桃的问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int N,sum=1,i; scanf("%d",&N); for(i=1;i…… 题解列表 2022年11月12日 0 点赞 0 评论 269 浏览 评分:0.0