FallenAn
FallenAn
全部文章
分类
题解(23)
归档
标签
去牛客网
登录
/
注册
FallenAn的博客
全部文章
(共31篇)
题解 | #小乐乐计算函数#
#include<stdio.h> int max3(int a, int b, int c) { a = a > b ? a : b; a = a > c ? a : c; return a; } int main() { int a = 0...
C
2022-04-29
0
240
题解 | #简单计算器#
#include<stdio.h> int main(){ double a, b; char ch; while ((scanf("%lf%c%lf", &a, &ch, &b)) != EOF) { if (ch == '+' || ch == '-'...
C
2022-04-29
3
349
题解 | #[NOIP2008]ISBN号码#
#include <stdio.h> int main() { char arr[13] = { 0 }; scanf("%s", &arr); int a = 0; int j = 1; for (int i = 0; i < 11...
C
2022-04-29
0
214
题解 | #计算一元二次方程#
#include <stdio.h> #include <math.h> int main() { double a, b,c; while (scanf("%lf %lf %lf", &a, &b, &c) != EOF) { if(a==...
C
2022-04-29
0
248
题解 | #牛牛的快递#
#include<stdio.h> int main(){ float a=0.0f; char b=0; int price=20; //起步价 scanf("%f ",&a); b=getchar(); if(b=='y')p...
C
2022-04-29
8
454
题解 | #网购#
#include<stdio.h> int main(){ float price=0.0f; int a=0,b=0,c=0; scanf("%f %d %d %d",&price,&a,&b,&c); if((a==11...
C
2022-04-29
0
259
题解 | #判断是不是字母#
#include<stdio.h> int main(){ char a; while((a=getchar())!=EOF){ if(('a'<=a&&...
C
2022-04-28
8
503
题解 | #公务员面试#
#include<stdio.h> int main(){ int total=0,max=0,min=0; int i=0; int first=0; while(scanf...
C
2022-04-28
1
348
题解 | #小乐乐改数字#
#include<stdio.h> #include<string.h> void Reverse(int arr[],int count){ int temp; int N=count; f...
C
2022-04-28
1
277
题解 | #小乐乐改数字#
#include<stdio.h> #include<string.h> void Reverse(int arr[],int count){ int temp; int N=count; for(int i = 0;i<N/2;i++){ temp = arr[i];...
2022-04-28
0
301
首页
上一页
1
2
3
4
下一页
末页