题解列表

筛选

母牛的故事 (Java代码)

摘要:解题思路:注意事项:参考代码:/**  * S(1) = 1, S(2) = 2, S(3) = 3  * S(4) = 4, S(5) = S(4) + S(2) = 6  */ impor……

简单的a+b (C语言代码)

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

关于格式错误(C++代码)

摘要:解题思路:注意事项: 其实只要加个空格就可以printf("%6.2f(在这里多加一个空格)", a);参考代码:#include <cmath>#include<iostream>using nam……

strlen()不存在(C++代码)

摘要:解题思路:注意事项:strlen()这个函数虽然在string里也有,我用vs运行也没错,但是在这个网站编译器中需要包含的头文件是<cstring>参考代码:#include<iostream>#in……