10 2014 档案
摘要:B. Friends and Presentstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou have two friends. You ...
阅读全文
摘要:144. Meetingtime limit per test: 0.25 sec.memory limit per test: 4096 KBTwo of the three members of the winning team of one of the ACM regional contes...
阅读全文
摘要:143. Long Live the Queentime limit per test: 0.25 sec.memory limit per test: 4096 KBThe Queen of Byteland is very loved by her people. In order to sho...
阅读全文
摘要:141. Jumping Joetime limit per test: 0.25 sec.memory limit per test: 4096 KBJoe is a frog who likes to jump a lot. In fact, that's all he does: he jum...
阅读全文
摘要:;比较low的钢琴ASSUME CS:CODE,DS:DATA,SS:STACKDATA SEGMENT ;设置键盘区位 ;中音区 A: 7 S: 8 D: 9 F:10 J:11 K:12 L:13 ;高音区 Q:14 W:15 E:16 R:17 U:18 I:19...
阅读全文
摘要:142. Keywordtime limit per test: 0.5 sec.memory limit per test: 16384 KBKevin has invented a new algorithm to crypt and decrypt messages, which he thi...
阅读全文
摘要:140. Integer Sequencestime limit per test: 0.25 sec.memory limit per test: 4096 KBA sequenceAis called aninteger sequenceof lengthNif all its elements...
阅读全文
摘要:139. Help Needed!time limit per test: 0.25 sec.memory limit per test: 4096 KBLittle Johnny likes puzzles a lot! Just a few days ago, he found out abou...
阅读全文
摘要:138. Games of Chesstime limit per test: 0.25 sec.memory limit per test: 4096 KBNfriends gathered in order to play chess, according to the following ru...
阅读全文
摘要:;实验报告内容,输入一个字符串,去掉数字,输出ASSUME DS:DATA,CS,CDOE,SS,STACKDATA SEGMENT MAXLEN DB 15 INPUTLEN DB 0 STR1 DB 15 DUP(0) STR2 DB 15 DUP(0)DATA ENDS...
阅读全文
摘要:137. Funny Stringstime limit per test: 0.25 sec.memory limit per test: 4096 KBLet's consider a string of non-negative integers, containingNelements. S...
阅读全文
摘要:136. Erasing Edgestime limit per test: 0.25 sec.memory limit per test: 4096 KBLittle Johnny painted on a sheet of paper a polygon withNvertices. Then,...
阅读全文
摘要:135. Drawing Linestime limit per test: 0.25 sec.memory limit per test: 4096 KBLittle Johnny likes to draw a lot. A few days ago he painted lots of str...
阅读全文
摘要:如果是jdk原因1、电脑环境变量配置如下:我的电脑(右键)→ 属性→ 高级→ 环境变量→ (系统变量)新建→变量名:JAVA_HOME变量值(java安装的目录):C:\ProgramFiles\Java\jdk1.6.0_03在classpath添加:;.;%JAVA_HOME%\lib;%JAV...
阅读全文
摘要:134. Centroidtime limit per test: 0.25 sec.memory limit per test: 4096 KBYou are given an undirected connected graph, withNvertices andN-1edges (a tre...
阅读全文
摘要:132. Another Chocolate Maniactime limit per test: 0.25 sec.memory limit per test: 4096 KBBob reallyLOVESchocolate. He thinks he never gets enough. Ima...
阅读全文
摘要:133. Bordertime limit per test: 0.25 sec.memory limit per test: 4096 KBAlong the border between statesAandBthere areNdefence outposts. For every outpo...
阅读全文
摘要:131. Hardwood floortime limit per test: 0.25 sec.memory limit per test: 4096 KBThe banquet hall of Computer Scientists' Palace has a rectangular form ...
阅读全文
摘要:DominationTime Limit:8 Seconds Memory Limit:131072 KB Special JudgeEdward is the headmaster of Marjar University. He is enthusiastic about chess and o...
阅读全文
摘要:Known NotationTime Limit:2 Seconds Memory Limit:65536 KBDo you know reverse Polish notation (RPN)? It is a known notation in the area of mathematics a...
阅读全文
摘要:130. Circletime limit per test: 0.25 sec.memory limit per test: 4096 KBOn a circle border there are 2k different points A1, A2, ..., A2k, located cont...
阅读全文
摘要:129. Inheritancetime limit per test: 0.25 sec.memory limit per test: 4096 KBThe old King decided to divide the Kingdom into parts among his three sons...
阅读全文
摘要:128. Snaketime limit per test: 0.25 sec.memory limit per test: 4096 KBThere are N points given by their coordinates on a plane. All coordinates (xi,yi...
阅读全文
摘要:125. Shtirlitstime limit per test: 0.25 sec.memory limit per test: 4096 KBThere is a checkered field of sizeNxNcells (1ЈNЈ3). Each cell designates the...
阅读全文
摘要:124. Broken linetime limit per test: 0.25 sec.memory limit per test: 4096 KBThere is a closed broken line on a plane with sides parallel to coordinate...
阅读全文
摘要:122. The booktime limit per test: 0.25 sec.memory limit per test: 4096 KBThere is a group of N (2nxt[j],得到一个环2.找到一个在环外的点,拆环并且延伸路径重复这两步直到形成长度为n的环#inclu...
阅读全文
摘要:127. Telephone directorytime limit per test: 0.25 sec.memory limit per test: 4096 KBCIA has decided to create a special telephone directory for its ag...
阅读全文
摘要:126. Boxestime limit per test: 0.25 sec.memory limit per test: 4096 KBThere are two boxes. There are A balls in the first box, and B balls in the seco...
阅读全文
摘要:121. Bridges paintingtime limit per test: 0.25 sec.memory limit per test: 4096 KBNew Berland consists of N (1£N£100) islands, some of them are connect...
阅读全文
摘要:110. Dungeontime limit per test: 0.25 sec.memory limit per test: 4096 KBThe mission of space explorers found on planet M the vast dungeon. One of the ...
阅读全文
摘要:123. The sumtime limit per test: 0.25 sec.memory limit per test: 4096 KBThe Fibonacci sequence of numbers is known: F1= 1; F2= 1; Fn+1= Fn+ Fn-1, for ...
阅读全文
摘要:120. Archipelagotime limit per test: 0.25 sec.memory limit per test: 4096 KBArchipelago Ber-Islands consists ofNislands that are vertices of equiangul...
阅读全文
摘要:119. Magic Pairstime limit per test: 0.5 sec.memory limit per test: 4096 KB“Prove that for any integerXandYif5X+4Yis divided by23than3X+7Yis divided b...
阅读全文
摘要:118. Digital Roottime limit per test: 0.25 sec.memory limit per test: 4096 KBLetf(n)be a sum of digits for positive integern. Iff(n)is one-digit numbe...
阅读全文
摘要:117. Countingtime limit per test: 0.25 sec.memory limit per test: 4096 KBFind amount of numbers for given sequence of integer numbers such that after ...
阅读全文
摘要:116. Index of super-primetime limit per test: 0.25 sec.memory limit per test: 4096 KBLetP1, P2, … ,PN, …be a sequence of prime numbers. Super-prime nu...
阅读全文
摘要:115. Calendartime limit per test: 0.25 sec.memory limit per test: 4096 KBFirst year of new millenium is gone away. In commemoration of it write a prog...
阅读全文
摘要:114. Telecasting stationtime limit per test: 0.25 sec.memory limit per test: 4096 KBEvery city in Berland is situated on Ox axis. The government of th...
阅读全文
摘要:113. Nearly prime numberstime limit per test: 0.25 sec.memory limit per test: 4096 KBNearly prime number is an integer positive number for which it is...
阅读全文
摘要:111.Very simple problemtime limit per test: 0.5 sec.memory limit per test: 4096 KBYou are given natural number X. Find such maximum integer number tha...
阅读全文
摘要:109. Magic of David Copperfield IItime limit per test: 0.25 sec.memory limit per test: 4096 KBThe well-known magician David Copperfield loves lo show ...
阅读全文