题解列表
1269: 谁拿了最多奖学金
摘要:```cpp
#include
#include
#include
using namespace std;
struct Stu
{
string name;
int……
2118: 信息学奥赛一本通T1179-奖学金
摘要:```cpp
#include
using namespace std;
typedef struct student
{
int num,c_score,m_score,e_sc……
A+B for Input-Output Practice (V)(水题)
摘要:```c
#include
int main(){
int n,m,i,j,a[1000],sum=0;
scanf("%d",&n);
for(i=0;i……
奇偶数判断(C语言)
摘要:解题思路:从文章的‘输出格式’可以知道:如果输入的数是奇数,就输出odd,如果是偶数就输出even。一个大于0的正整数,非偶即奇。一个数除以2,没有余数的就是偶数,有余数的就是奇数。注意事项:1.输入……
数字整除(python代码)
摘要:def judge(x):
c = len(x)
x = list(x)
e = int(x[c-1])
del(x[c-1])
x = '&
题目 1511: 蓝桥杯算法提高VIP-复数求和
摘要:解题思路:从键盘读入n个复数(实部和虚部都为整数)用链表存储,遍历链表求出n个复数的和并输出。注意事项:参考代码:#include<stdio.h>#include<stdlib.h>typedef ……
简单易懂的水仙花(三行python)
摘要:解题思路:一看就会注意事项:一看就会参考代码:for i in range(100,1000): if i==(i//100)**3+(i//10%10)**3+(i%10)**3: ……