A. Numbers Joke time limit per test:2 seconds memory limit per test:64 megabytes input:standard input output:standard output Input The input contains a single integer a (1 ≤ a ≤ 30). Output Output a single integer. Example Input 3 Output 27 题目链接:ht…
Description You are developing a new feature for the website which sells airline tickets: being able to sort tickets by price! You have already extracted the tickets' prices, so there's just the last step to be done... You are given an array of integ…
Description Input The input consists of four lines, each line containing a single digit 0 or 1. Output Output a single digit, 0 or 1. Example input 0110 output 0 一个数字电路,不过或门和异或门是反的,所以..注意下 #include<bits/stdc++.h> using namespace std; #define ll long…
Description Input The only line of the input contains a string of digits. The length of the string is between 1 and 10, inclusive. Output Output "Yes" or "No". Examples input 373 output Yes input 121 output No input 436 output Yes看是不是回…
Description DO YOU EXPECT ME TO FIND THIS OUT? WHAT BASE AND/XOR LANGUAGE INCLUDES string? DON'T BYTE OF MORE THAN YOU CAN CHEW YOU CAN ONLY DISTORT THE LARGEST OF MATHEMATICS SO FAR SAYING "ABRACADABRA" WITHOUT A MAGIC AND WON'T DO YOU ANY GOOD…
Description Programmers' kids solve this riddle in 5-10 minutes. How fast can you do it? Input The input contains a single integer n (0 ≤ n ≤ 2000000000). Output Output a single integer. Examples input 11 output 2 input 14 output 0 input 61441 output…
Description Input The input contains a single integer a (1 ≤ a ≤ 30). Output Output a single integer. Example input 3 output 27 那个,这个,额,查题目名称吧Numbers Joke #include<bits/stdc++.h> using namespace std; #define ll long long ll a[]={,, , , , , , , , , ,…
这个比赛不正经,但是我可以一本正经的写代码啊 A. Quirky Quantifiers time limit per test 2 seconds memory limit per test 64 megabytes input standard input output standard output Input The input contains a single integer a (10 ≤ a ≤ 999). Output Output 0 or 1. Examples inp…