摘要:
/** 划拳 题目关于数字的定义反了 PAT 1046 */ #include <iostream> using namespace std; int cal(int a,int b,int c,int d) { if(a+c==b&&a+c!=d) return 1; //甲赢输出1 if(a+c 阅读全文
posted @ 2020-07-18 19:52
云墨丹心
阅读(97)
评论(0)
推荐(0)
摘要:
/** PAT 1047 #非常重要的知识点: 用scanf("%d-%d %d")的方法来读取这类信息从而可提取出数字 #掌握printf,scanf的输入输出方法 #include<stdio.h> #include<iostream> using namespace std; int main 阅读全文
posted @ 2020-07-18 19:32
云墨丹心
阅读(85)
评论(0)
推荐(0)

浙公网安备 33010602011771号