![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
模拟
大白QQly成长日记
小白自远方来
展开
-
Distinct Values
Problem Description Chiaki has an array of n positive integers. You are told some facts about the array: for every two elements ai and aj in the subarray al..r (l≤i<j≤r), ai≠aj holds. Chiaki would...原创 2018-07-25 10:46:36 · 388 阅读 · 0 评论 -
表达式求值(模拟)
Description Dr.Kong设计的机器人卡多掌握了加减法运算以后,最近又学会了一些简单的函数求值,比如,它知道函数min(20,23)的值是20 ,add(10,98) 的值是108等等。经过训练,Dr.Kong设计的机器人卡多甚至会计算一种嵌套的更复杂的表达式。 假设表达式可以简单定义为: 1. 一个正的十进制数 x 是一个表达式。 2. 如果 x 和 y 是...原创 2018-05-23 21:57:11 · 630 阅读 · 0 评论 -
B. Switches and Lamps
You are given n switches and m lamps. The i-th switch turns on some subset of the lamps. This information is given as the matrix aconsisting of n rows and m columns where ai, j = 1 if the i-th switch ...原创 2018-05-22 20:28:37 · 501 阅读 · 0 评论 -
Card Trick(模拟)
题目描述 The magician shuffles a small pack of cards, holds it face down and performs the following procedure: 1. The top card is moved to the bottom of the pack. The new top card is dealt face up onto ...原创 2018-04-20 11:07:20 · 333 阅读 · 0 评论 -
2018 沈阳赛区网络预赛 I.Lattice's basics in digital electronics(模拟)
LATTICE is learning Digital Electronic Technology. He is talented, so he understood all those pieces of knowledge in 10−910^{-9}10−9 second. In the next 10−910^{-9}10−9 second, he built a data decodin...原创 2018-09-08 20:23:53 · 417 阅读 · 0 评论