As an emergency rescue team leader of a city, you are given a special map of your country. The map s ...
Aproper vertex coloringis a labeling of the graph s vertices with colors such that no two vertices sharing the same edge have the same color. A coloring using at mostkcolors is called a proper k color ...
2018-12-12 20:22 0 620 推荐指数:
As an emergency rescue team leader of a city, you are given a special map of your country. The map s ...
1010 Radix (25)(25 分) Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is "yes ...
题意: 每次输入两个正整数N,D直到N是负数停止输入(N<1e5,1<D<=10),如果N是一个素数并且将N转化为D进制后逆转再转化为十进制后依然是个素数的话输出Yes,否则输出N ...
To evaluate the performance of our first year CS majored students, we consider their grades of three ...
2020-9-5 刚考完PAT 最后半小时手机居然关机断网了!!! 题目描述可以参考2020年PAT秋原题 第一题(奶牛题) 好坑,我想的是找出单调序列,从小到大依次赋值,序列最大的点先放着,之后根据两边的值确定每个最大点处的值。最后一个点wa(-3分) code1 第二题 ...
1016 Phone Bills (25 分) A long-distance telephone company charges its customers by the following rules ...
PAT排名汇总(25 分) 计算机程序设计能力考试(Programming Ability Test,简称PAT)旨在通过统一组织的在线考试及自动评测方法客观地评判考生的算法设计与程序设计实现能力,科学的评价计算机程序设计人才,为企业选拔人才提供参考标准(网址http ...
1002. A+B for Polynomials (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B ...