• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
shadow_justice
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理
上一页 1 2 3 下一页

2013年1月19日

codeforces 156 Div2 A
摘要: A. Greg's Workouttime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputGreg is a beginner bodybuilder. Today the gym coach gave him the training plan. All it had wasnintegersa1, a2, ..., an. These numbers mean that Greg needs to do exactlynexercise 阅读全文
posted @ 2013-01-19 19:05 shadow_justice 阅读(162) 评论(0) 推荐(0)
 
codeforces 159 Div2 B
摘要: B. Playing Cubestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPetya and Vasya decided to play a little. They foundnred cubes andmblue cubes. The game goes like that: the players take turns to choose a cube of some color (red or blue) and put it 阅读全文
posted @ 2013-01-19 19:01 shadow_justice 阅读(229) 评论(0) 推荐(0)
 
codeforces 159 Div2 A
摘要: A. Socketstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya has got many devices that work on electricity. He's gotnsupply-line filters to plug the devices, thei-th supply-line filter hasaisockets.Overall Vasya has gotmdevices andkelectri 阅读全文
posted @ 2013-01-19 18:51 shadow_justice 阅读(249) 评论(0) 推荐(0)
 
 

2013年1月17日

USACO 1.1 Friday the Thirteenth
摘要: Friday the ThirteenthIs Friday the 13th really an unusual event?That is, does the 13th of the month land on a Friday less often than on any other day of the week? To answer this question, write a program that will compute the frequency that the 13th of each month lands on Sunday, Monday, Tuesday, We 阅读全文
posted @ 2013-01-17 23:04 shadow_justice 阅读(227) 评论(0) 推荐(0)
 
codeforces 161 Div2 B
摘要: B. Squarestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya has found a piece of paper with a coordinate system written on it. There arendistinct squares drawn in this coordinate system. Let's number the squares with integers from 1 ton. 阅读全文
posted @ 2013-01-17 23:01 shadow_justice 阅读(501) 评论(0) 推荐(0)
 
codeforces 161 Div2 A
摘要: A. Beautiful Matrixtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou've got a5 × 5matrix, consisting of24zeroes and a single number one. Let's index the matrix rows by numbers from1to5from top to bottom, let's index the matrix 阅读全文
posted @ 2013-01-17 22:59 shadow_justice 阅读(259) 评论(0) 推荐(0)
 
 

2013年1月16日

USACO 1.1 Greedy Gift Givers
摘要: Greedy Gift GiversA group of NP (2 ≤ NP ≤ 10) uniquely named friends has decided to exchange gifts of money. Each of these friends might or might not give some money to any or all of the other friends. Likewise, each friend might or might not receive money from any or all of the other friends. Your 阅读全文
posted @ 2013-01-16 13:47 shadow_justice 阅读(206) 评论(0) 推荐(0)
 
 

2013年1月15日

codeforces 160 Div2 C
摘要: C. Maxim and Discountstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputMaxim always goes to the supermarket on Sundays. Today the supermarket has a special offer of discount systems.There aremtypes of discounts. We assume that the discounts are in 阅读全文
posted @ 2013-01-15 02:26 shadow_justice 阅读(298) 评论(0) 推荐(0)
 
codeforces 160 Div2 B
摘要: B. Roma and Changing Signstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputRoma works in a company that sells TVs. Now he has to prepare a report for the last year.Roma has got a list of the company's incomes. The list is a sequence that consi 阅读全文
posted @ 2013-01-15 02:20 shadow_justice 阅读(245) 评论(2) 推荐(0)
 
codeforces 160 Div2 A
摘要: A. Roma and Lucky Numberstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputRoma (a popular Russian name that means 'Roman') loves the Little Lvov Elephant's lucky numbers.Let us remind you that lucky numbers are positive integers whose d 阅读全文
posted @ 2013-01-15 02:09 shadow_justice 阅读(167) 评论(0) 推荐(0)
 
 
上一页 1 2 3 下一页

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3