PAT-甲级-1011-World Cup Betting (20 分)
With the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited as the best players from the best team
With the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited as the best players from the best team
This time, you are supposed to find A×B where A and B are two polynomials. Input Specification:Each input file contains one test case. Each
At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who signs out will loc
Given a non-negative integer N, your task is to compute the sum of all the digits of N, and output every digit of the sum in English. Input
This time, you are supposed to find A+B where A and B are two polynomials. Input Specification:Each input file contains one test case. Each
Calculate a+b and output the sum in standard format – that is, the digits must be separated into groups of three by commas (unless there are
PAT 准考证号由 4 部分组成: 第 1 位是级别,即 T 代表顶级;A 代表甲级;B 代表乙级; 第 2~4 位是考场编号,范围从 101 到 999; 第 5~10 位是考试日期,格式为年、月、日顺次各占 2 位; 最后 11~13 位是考生编号,范围从 000 到 99
2004 年 7 月,谷歌在硅谷的 101 号公路边竖立了一块巨大的广告牌(如下图)用于招聘。内容超级简单,就是一个以 .com 结尾的网址,而前面的网址是一个 10 位素数,这个素数是自然常数 e 中最早出现的 10 位连续数字。能找出这个素数的人,就可以通过访问谷歌的这个网站
给定两个字符串 A 和 B,本题要求你输出 A+B,即两个字符串的并集。要求先输出 A,再输出 B,但重复的字符必须被剔除。 输入格式:输入在两行中分别给出 A 和 B,均为长度不超过 106的、由可见 ASCII 字符 (即码值为32~126)和空格组成的、由回车标识结束的非空
月饼是久负盛名的中国传统糕点之一,自唐朝以来,已经发展出几百品种。 若想评比出一种“最好吃”的月饼,那势必在吃货界引发一场腥风血雨…… 在这里我们用数字说话,给出全国各地各种月饼的销量,要求你从中找出销量冠军,认定为最好吃的月饼。 输入格式:输入首先给出两个正整数 N(≤100