摘要: Skew BinaryWhen a number is expressed in decimal, thek-th digit represents a multiple of 10k. (Digits are numbered from right to left, where the least significant digit is number 0.) For example,When a number is expressed in binary, thek-th digit represents a multiple of 2k. For example,Inskew binar 阅读全文
posted @ 2013-02-22 23:24 三人木君 阅读(225) 评论(0) 推荐(0) 编辑
摘要: Problem AEcological PremiumInput:standard inputOutput:standard outputTime Limit:1 secondMemory Limit:32 MBGerman farmers are given a premium depending on the conditions at their farmyard. Imagine the following simplified regulation: you know the size of each farmer's farmyard in square meters an 阅读全文
posted @ 2013-02-22 22:02 三人木君 阅读(198) 评论(0) 推荐(0) 编辑
摘要: What's Cryptanalysis?Cryptanalysis is the process of breaking someone else's cryptographic writing. This sometimes involves some kind of statistical analysis of a passage of (encrypted) text. Your task is to write a program which performs a simple analysis of a given text.InputThe first line 阅读全文
posted @ 2013-02-22 20:54 三人木君 阅读(460) 评论(0) 推荐(0) 编辑