题解列表

筛选

二级C语言-计负均正

摘要:#includeusing namespace std; int main() { int a[110]; for(int i=1;i>a[i]; double ans……

3033: 放苹果

摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 全局变量声明,用于存储测试用例数量和两个整数m和n int t, n……

最普通的解题方法

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    char a[150];    char b[51];    gets(a);    gets(b);  ……

最普通的解题方法

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int i,b=0,c=0,d=0,e=0;    char a[201];    gets(a);   ……

3022: 流感传染一眼丁真

摘要:解题思路:        遍历数组s在哪有@,有就在另一个数组上标记为1;数组s遍历完后,遍历数组a,在有标记的位置对应数组s[ i ][ j ],后判断是s[ i ][ j ]四个方向是否能被感染;……

不懂可评论

摘要:解题思路:注意事项:参考代码:days= [&#39;Monday&#39;, &#39;Tuesday&#39;, &#39;Wednesday&#39;, &#39;Thursday&#39;, ……

不懂可评论

摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main {     public static void main(String[] ……