自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 1088 三人行 C语言 pat乙级

1.测试点4错误版:丙的分数可能是浮点数,没有考虑到这一点甚至还限制了整除的我qaq。而且将甲乙的分数用两个参数表示,逻辑上没问题,但有两层循环。 #include <stdio.h> #include <stdlib.h> #include <math.h> /* run this program using the console pauser or add your own getch, system("pause") or input loop */ int

2020-06-25 01:02:34 144

原创 1017 A除以B (20分)C语言 pat乙级

#include <stdio.h> #include <stdlib.h> #include <string.h> /* run this program using the console pauser or add your own getch, system("pause") or input loop */ int main(int argc, char *argv[]) { char str[1001]; int d,Q,R,len,i; if(sc

2020-06-24 13:24:13 97

原创 1016 部分A+B (15分) C语言 pat乙级

#include <stdio.h> #include <stdlib.h> #include <math.h> /* run this program using the console pauser or add your own getch, system("pause") or input loop */ int cul(int num,int d){ int i,count; count = 0; while(num!=0){ if(num ==

2020-06-24 00:37:06 149

原创 1013 数素数 (20分) C语言 pat乙级

#include <stdio.h> #include <stdlib.h> #include <math.h> /* run this program using the console pauser or add your own getch, system("pause") or input loop */ int isprime(int num){ int i; if(num == 2) return 1; for(i = 2;i <= sq

2020-06-23 23:38:48 94

原创 1012 数字分类 C语言 PAT乙级

#include <stdio.h> #include <stdlib.h> /* run this program using the console pauser or add your own getch, system("pause") or input loop */ int main(int argc, char *argv[]) { int n,count,i,max,temp; int a[5]={0},b[5]={0}; count = 0; int k

2020-06-23 21:57:18 86

原创 201912-1 报数 csp C语言

#include <stdio.h> int main() { int i,n; int count[4] = {0}; scanf("%d",&n); for(i = 1;i <= n;i++){ if(i%7 ==0 || i%10 ==7 ||i/10%10 ==7||i/100==7){ if(i%4 == 0){ count[3]++;

2020-06-12 14:33:22 183

原创 201912-2 csp回收站管理 C语言

#include <stdio.h> int main() { int n,i,j,count; long int loc[1000][2]={0}; int cho[1000] = {0}; //int score = 0; int cout[5] = {0}; scanf("%d",&n); for(i = 0;i <= n;i++){ scanf("%ld %ld",&loc[i][0],&am

2020-06-12 12:02:15 138

原创 javaweb部署到轻量应用服务器遇到的问题及解决

阿里云轻量应用服务器部署中走的弯路@TOC 将Javaweb项目部署到轻量应用服务器所遇到的问题及解决 这周老师布置的任务是将javaweb项目部署到云服务器,刚开始接触这些,还没有系统学过Linux系统及相关的操作命令,操作教程基本都是百度的。折腾了好久终于部署上了。现在总结一下遇到的问题吧。刚开始学习,希望大家多多交流~ MySQL,jdk和Tomcat的安装 1.安装过程 刚开始发现大部分教...

2018-12-22 17:17:04 672

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除