题解列表

筛选

c语言代码解决问题

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

c语言代码解决问题

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

c语言代码解决问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int least_num(int a,int b){    return a%b==0 ? b : least_num(b, a % ……

阶乘数列1064

摘要:解题思路:注意事项:参考代码:public class Main {    public static void main(String args[]) {        double sum = 0……

1074:-数字整除

摘要:解题思路:本题的本质是高精度大数除以低精度小数。字符型的的本质就是整形数据。以字符串的形式接收高精度大数,把每一个字符转变为数字存放在数组中进行运算。注意事项:参考代码:char a[1000]; ……

c语言代码解决问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){    char str[101],c;    int i,max_sign=……

c语言代码解决问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int min(int x, int y){    return x < y?x : y;}int main(){    int a, ……

c语言代码解决问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[201]; gets(str); str[strlen(s……

c语言代码解决问题

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