摘要:
A. Hungry Student Problem A. Hungry Student Problem Ivan's classes at the university have just finished, and now he wants to go to the local CFK cafe 阅读全文
摘要:
A. Find Extra One You have n distinct points on a plane, none of them lie on OY axis. Check that there is a point after removal of which the remaining 阅读全文
摘要:
C. Nephren gives a riddle What are you doing at the end of the world? Are you busy? Will you save us? Nephren is playing a game with little leprechaun 阅读全文
摘要:
A. Scarborough Fair Willem is taking the girl to the highest building in island No.28, however, neither of them knows how to get there. Willem asks hi 阅读全文
摘要:
A. ACM ICPC In a small but very proud high school it was decided to win ACM ICPC. This goal requires to compose as many teams of three as possible, bu 阅读全文
摘要:
跳转指令有:JMP、JECXZ、JA、JB、JG、JL、JE、JZ、JS、JC、JO、JP等等 JMP:无条件跳转,相当于C语言的goto JCC:根据指定的条件确定程序是否发生转移,条件满足,发生转移,否则,顺序执行下条指令 JECXZ:ECX为0则跳转 用有16条指令,分两类: ①单个标志状态作 阅读全文
摘要:
大吉大利今晚吃鸡 Problem Description 最近流行吃鸡,那就直接输出一行"Winner winner ,chicken dinner!"(没有双引号)模板代码:#include <stdio.h>int main(){printf("hello world\n");return 0; 阅读全文
摘要:
题目描述 有一个m × m的棋盘,棋盘上每一个格子可能是红色、黄色或没有任何颜色的。你现在要从棋盘的最左上角走到棋盘的最右下角。 任何一个时刻,你所站在的位置必须是有颜色的(不能是无色的), 你只能向上、 下、左、 右四个方向前进。当你从一个格子走向另一个格子时,如果两个格子的颜色相同,那你不需要花 阅读全文
摘要:
Permutation 找规律 先输出奇数 1 2 3 4 5... 偶数就用剩下的依次加1 找规律 先输出奇数 1 2 3 4 5... 偶数就用剩下的依次加1 1 #include <bits/stdc++.h> 2 using namespace std; 3 4 int main() { 5 阅读全文
摘要:
E. Maximum Subsequence You are given an array a consisting of n integers, and additionally an integer m. You have to choose some sequence of indices b 阅读全文