摘要:
PalindromesA regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string"ABCDEDCBA"is a palindr... 阅读全文
摘要:
题目大意:输入一个字符串,根据物理公式P=U*I,已知其中两个量,求第三个量,结果保留两位小数。Artificial Intelligence?Physics teachers in high school often think that problems given as text are mo... 阅读全文
摘要:
呵呵,这个翻译还是很直白的嘛,大家意会就好。第一次看到这个高大上题目还是有点小害怕的,还好题没有做过深的文章。只要按照规则转化成十进制就好了,而且题目本身也说了最大不超过一个int的范围(2^31-1 ==2147483647)。直接位运算就好了。Skew BinaryWhen a number i... 阅读全文