题解列表

筛选

2903: 不高兴的津津

摘要:参考代码:#include <bits/stdc++.h>using namespace std;int a,b,c,maxday = 0,maxtime = 0;int main(){    for……

不高兴的津津

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    int day=0,maxx=0;        f……

c语言代码解决问题

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

整理药名(C++)简单实用

摘要:代码解析:参考代码:#include <iostream>#include <string>#include <cctype>using namespace std;string formatMedi……
优质题解

C语言训练-"水仙花数"问题(c++代码)

摘要:首先我们要引出一个解题方法——**穷举法(又称枚举)**,即用循环表示出所有可能性再根据题目要求使用*if* 语句筛选出符合条件的结果。 让我们先读题: > 所谓"水仙花数"是指这样的一个三位……