题解列表

筛选

c代码记录之电报加密

摘要:解题思路:怀疑编译器有问题,题目要求输入一行字符,按这个要求写的代码不能过,奇怪注意事项:参考代码:通过的代码,但这个代码第二行的内容也是会输出的,与题目要求不符#includeint main() ……

统计成绩!

摘要:#include <stdio.h>int unpass=0;int main(){   float average(float a[]);    float a[10],aver;  int i; ……

1024c语言代码

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int i,j,k=0,l=0,m,n,sum1=0,sum2=0,a[100][100],b[100],c[……

1023c语言代码

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

1022c语言代码

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int N,i,j,t; scanf("%d",&N); for(i=2;i<=N;i++){ t=0; ……

药药,切克闹

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int m,n,i=1,x,pat=0;    scanf("%d %d",&m,&n);    for(……

c语言初学者对津津的救赎

摘要:解题思路:每次算出存钱的累加和实时捏在手上的零钱,预算过大则跳出输出-x注意事项:注意存在妈妈那里的钱是一直在增加的,而津津自己的零钱是不断更新的。为防止数据遗忘,私人钱设为pri(private),……

C++阶乘20行解决

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;void test(){ long long num,nub=1,a=0;//nub是到当前数……