发表评论取消回复
相关阅读
相关 PAT(甲级)1015 Reversible Primes (20point(s))
题目题目链接思路题目大意:判断一个数以及逆序是不是质数;注意:0和1都不是质数,记得特判一下;代码#include <iostream>#include &l...
相关 PAT(甲级)1081 Rational Sum (20point(s))
题目题目链接思路计算分数的加法;1、初始化时将ans 的分子设为0,分母设为1;2、计算过程中,分子,分母都可以为负;3、化简过程中注意三点:分母为负,分子分母都要变号;...
相关 PAT(甲级)1008 Elevator (20point(s))
题目题目链接思路每次和上次的楼层比较一下,判断是上楼还是下楼;代码#include <iostream>using namespace std;int mai...
相关 1008 Elevator
1008 Elevator 0、题目 The highest building in our city has only one elevator. A reque
相关 PAT甲级1008 Elevator (20 分)
![在这里插入图片描述][watermark_type_ZmFuZ3poZW5naGVpdGk_shadow_10_text_aHR0cHM6Ly9ibG9nLmNzZG4ub
相关 【PAT (Advanced Level) Practice】1008 Elevator (20 分)
include<iostream> include<cstdio> include<cstdlib> include<string> i
相关 PAT甲级1008. Elevator
The highest building in our city has only one elevator. A request list is made up with N
相关 1008. Elevator (20)
The highest building in our city has only one elevator. A request list is made up with N
相关 PAT (Advanced Level) 1008 Elevator
1008 Elevator (20 分) The highest building in our city has only one elevator. A request
相关 PAT甲级 - 1008 Elevator (20 分)
题目链接:[PAT甲级 - 1008 Elevator (20 分)][PAT_ - 1008 Elevator _20] The highest building in o
还没有评论,来说两句吧...