题解列表

筛选

小南解题---学生成绩

摘要:'''zgn94622:17 2022/5/14'''#输入a=int(input().strip())aa=[input().strip().spli……

1173: 计算球体积(详细 清晰)

摘要: 很简单的一道题,只要知道公式就非常容易计算,但是很多人明明公式对了,结果却一直出不来,就是这个题主要的错误点就是在4/3的时候要记得类型转换,因为如果不进行类型转换,编译器会将4/3当做整数运……

for循环判断~

摘要: ``` #include #include #include #include using namespace std; const int Inf = 1e4; int M,N;……

简单的a+b题解

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){    int a,b;    while(cin>>a>>b)    ……

Hello World!注意事项

摘要:解题思路:Hello World 虽然简单 但是容易出错注意事项:return 0 其实可有可无 注意中英输入法符号问题 一定要写换行符\n 其次换行符写在""里面参考代码:#include<stdi……

用结构体表达时间并进行运用

摘要:解题思路:注意事项:2月注意常规的闰年判断参考代码:#include <stdio.h>struct Ymd{ unsigned int year; unsigned int month; unsig……