题解列表
题解 2803: 整数的个数(C语言代码)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,k,i,j=0,y=0,z=0; scanf("%d",&k); for(i=1;i<=k;i++)……
津津的储蓄计划(不懂我吃屎)
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int cost, f, mama = 0, flag = 1, money = 0, i = 1;// c……
菜鸟解:算不出来的星期几
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ long long c=1;//定义天数; int a,b; ……
每日一道----计算2的幂
摘要:解题思路:注意事项:主要需要注意的是pow函数返回的是double类型的数值,通过强制类型转换成int类型参考代码:#include<stdio.h>#include<math.h>int main(……
2757:强制类型转换-C语言
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
#include<math.h>
int main()
{
float n;
scanf("%f",&n);
……
编写题解 2823: 计算分数加减表达式的值
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
int main()
{
int i,j;
int sign = 1;
double sum = 0;
……
1032: [编程入门]自定义函数之字符串连接 (c++)
摘要:解题思路: 定义两个string变量 再cout输出就行了注意事项: 很暴力很暴力参考代码:#include<iostream>
#include<string>
using namespace ……
IKUN手把手教你 开关灯(小黑子勿进=_=||)
摘要:解题思路: 这里简单说一下吧,说到这里,请看我的优质答案!相信爱坤都能明白=_=||注意事项: 他这个输出的设置就很鸡贼,中间有逗号,最后没有逗号,所以又要我int kun……
Hello, World!(C语言入门)
摘要:解题思路:使用printf函数,将Hello, World输入进去即可。注意事项:1.使用英文标点符号2.逗号后面有一个空格参考代码:#include<stdio.h>int main(){ p……