OJ
文章平均质量分 71
*一路向北*
这个作者很懒,什么都没留下…
展开
-
PAT 1019 General Palindromic Number
PAT 1019 General Palindromic Number题目PAT 1019 General Palindromic Number 题解本题难度不大,主要是考察了一个进制转换问题,请参照我的另一博客r进制转换代码#include <stdio.h>#include <iostream>using namespace std;int main(){ int N,b; cin>>N>>b; int z[100];原创 2021-06-06 22:35:54 · 75 阅读 · 0 评论 -
PAT 1015 Reversible Primes
PAT 1015Reversible Primes题目1015 Reversible Primes (20 分)A reversible prime in any number system is a prime whose “reverse” in that number system is also a prime. For example in the decimal system 73 is a reversible prime because its reverse 37 is also原创 2021-06-04 10:13:04 · 145 阅读 · 0 评论 -
PAT 1011 World Cup Betting
PAT 1011 World Cup Betting问题1011 World Cup Betting (20 point(s))With the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited as the best players from the best teams doing battles for the World Cup trophy in South原创 2021-05-25 17:58:21 · 90 阅读 · 1 评论 -
PAT 1008 Elevator
PAT甲级1008 Elevator链接地址:PAT Elevator原题:The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which floors the elevator will stop, in specified order. It costs 6 seconds to move原创 2021-05-15 23:34:58 · 98 阅读 · 5 评论 -
完美立方
A-完美立方题目介绍:For hundreds of years Fermat’s Last Theorem, which stated simply that for n > 2 there exist no integers a, b, c > 1 such that a^n = b^n + c^n, has remained elusively unproven. (A re...原创 2020-02-26 00:12:02 · 390 阅读 · 0 评论