题解列表

筛选

查找特定的值

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; int a[10000]={0}; int i=0; int m; scanf("%d",&n);……

整数大小比较

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int x,y; scanf("%d %d",&x,&y); if(x>y){ printf(">"); ……

输出最高分数的学生姓名

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>struct student{    int score;   ……

定义宏,判断是否为闰年

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#define LEAP_YEAR(y)  y%100 ==0 && y%4 ==0 && y……

电报加密;

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