CF-A题终结者
糖果天王
编辑自我介绍~ 才能让更多人了解你…… 哎?真的吗?
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【简单数论】#60 A. Harry Potter and Three Spells
A. Harry Potter and Three Spellstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA long time ago (probably原创 2014-08-20 12:09:24 · 890 阅读 · 0 评论 -
【巧枚举】#73 A. Chord
A. Chordtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya studies music.He has learned lots of int原创 2014-10-27 16:06:20 · 1026 阅读 · 0 评论 -
【String】#65 A. Way Too Long Words
A. Way Too Long Wordstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputSometimes some words like "localizati原创 2014-10-10 10:56:24 · 1106 阅读 · 0 评论 -
【String::find】#8 A. Train and Peter
A. Train and Petertime limit per test1 secondmemory limit per test64 megabytesinputstandard inputoutputstandard outputPeter likes to travel by train. He likes i原创 2014-04-09 22:12:28 · 1559 阅读 · 0 评论 -
【找规律】#64 A. Cookies
A. Cookiestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputFangy collects cookies. Once he decided to take原创 2014-10-10 10:47:55 · 794 阅读 · 0 评论 -
【贪心】#66 A. The Elder Trolls IV: Oblivon
A. The Elder Trolls IV: Oblivontime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya plays The Elder Troll原创 2014-10-10 17:16:46 · 995 阅读 · 0 评论 -
【水模拟】#71 A. Bus Game
A. Bus Gametime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAfter Fox Ciel won an onsite round of a program原创 2014-10-27 15:06:39 · 1010 阅读 · 0 评论 -
【水推理】#72 A. Toy Army
这已经不能bei'c#include using namespace std;// http://codeforces.com/contest/84// Toy Armyint main(){ int n; cin>>n; cout<<n/2*3; return 0;}原创 2014-10-27 15:24:58 · 852 阅读 · 0 评论 -
【2008IO】#ULR 2 A. Goshtasp, Vishtasp and Eidi
A. Goshtasp, Vishtasp and Eiditime limit per test5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputGoshtasp was known to be a g原创 2014-10-10 11:37:33 · 673 阅读 · 0 评论 -
【getline】#70 A. Haiku
A. Haikutime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputHaiku is a genre of Japanese traditional poetry.原创 2014-10-27 12:26:25 · 884 阅读 · 0 评论 -
【水】#63 A. Young Physicist
A. Young Physicisttime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA guy named Vasya attends the final grad原创 2014-10-10 10:35:54 · 1141 阅读 · 0 评论 -
【水打表】#69 A. Panoramix's Prediction
#include #include #include #include #include using namespace std;typedef long long ll;// http://codeforces.com/contest/80 // Panoramix's Prediction1 int prime[]={2,3,5,7,11,13,17,19,23,29,原创 2014-10-25 23:30:12 · 1038 阅读 · 0 评论 -
【贪心+读题】Manthan 2011 A. Partial Teacher
A. Partial Teachertime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA teacher decides to give toffees to his原创 2014-10-08 22:16:25 · 708 阅读 · 0 评论 -
【水读入】#56 A. Where Are My Flakes?
A. Where Are My Flakes?time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne morning the Cereal Guy found原创 2014-08-20 11:34:21 · 825 阅读 · 0 评论 -
【^概念】#57 A. Ultra-Fast Mathematician
A. Ultra-Fast Mathematiciantime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputShapur was an extremely gifted原创 2014-08-20 11:41:26 · 861 阅读 · 0 评论 -
【水输入】#52 A. Bar
#include #include #include #include #include using namespace std;string name[11]={"ABSINTH","BEER","BRANDY","CHAMPAGNE","GIN","RUM","SAKE","TEQUILA","VODKA","WHISKEY","WINE"};int main(){ in原创 2014-08-08 19:11:57 · 3064 阅读 · 0 评论 -
【水讨论】#53 A. Square Earth?
A. Square Earth?time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputMeg the Rabbit decided to do something nic原创 2014-08-08 20:43:47 · 1006 阅读 · 1 评论 -
【水分类】#59 A. Sinking Ship
A. Sinking Shiptime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe ship crashed into a reef and is sinking原创 2014-08-20 11:58:27 · 1144 阅读 · 0 评论 -
【Actcl阶乘】#ULR 1 A. Factorial
这道题没有太大意义……主要是也在A题= =是考语言的原创 2014-08-20 12:03:03 · 774 阅读 · 0 评论 -
【水字符】#55 A. Word
A. Wordtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya is very upset that many people on the Net mix原创 2014-08-08 21:23:10 · 1226 阅读 · 0 评论 -
【水模拟】#35 A.Shell Game
#include #include #include #include #include #include using namespace std;int main(){ freopen("input.txt","r",stdin); freopen("output.txt","w",stdout); int ball,n=3; int a,b;原创 2014-07-20 18:09:35 · 721 阅读 · 0 评论 -
【水String】#61 A. Petya and Java
A. Petya and Javatime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle Petya has recently started attendi原创 2014-10-08 23:07:59 · 793 阅读 · 0 评论 -
【水模拟】#62 A. Irrational problem
A. Irrational problemtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle Petya was given this problem f原创 2014-10-08 23:09:14 · 802 阅读 · 0 评论 -
【水模拟】#74 A. Cableway
A. Cablewaytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA group of university students wants to get to原创 2014-10-29 17:35:11 · 1690 阅读 · 3 评论 -
【巧模拟】#75 A. Chips
A. Chipstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n walruses sitting in a circle. All of t原创 2014-10-29 17:51:49 · 1022 阅读 · 0 评论 -
【数学计算】#88 A. Elevator
A. Elevatortime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAnd now the numerous qualifying tournaments for原创 2015-01-30 01:27:37 · 929 阅读 · 0 评论 -
【水模拟】#77 A. Football
A. Footballtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPetya loves football very much. One day, as he原创 2014-11-15 23:40:19 · 1801 阅读 · 0 评论 -
【简单演算】#86 A. Cifera
A. Ciferatime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputWhen Petya went to school, he got interested in l原创 2014-12-15 21:56:10 · 973 阅读 · 0 评论 -
【简单过滤】#89 A. String Task
A. String Tasktime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPetya started to attend programming lessons.原创 2015-02-22 16:23:17 · 933 阅读 · 0 评论 -
【水I/O】#20 A. BerOS file system
A. BerOS file systemtime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputThe new operating system BerOS has a ni原创 2014-05-28 23:48:23 · 1309 阅读 · 0 评论 -
【模拟+读入】#21 A. Jabber ID
A. Jabber IDtime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputJabber ID on the national Berland service «Babb原创 2014-05-30 13:49:28 · 1051 阅读 · 0 评论 -
【水枚举】#18 A. Triangle
#includeusing namespace std;int move[4][2]={{0,1},{1,0},{0,-1},{-1,0}};bool isR(int x1,int y1,int x2,int y2,int x3,int y3){ int a,b,c; a=(x1-x2)*(x1-x2)+(y1-y2)*(y1-y2); b=(x1-x3)*(x1-x3)+(y1-y原创 2014-05-09 01:05:35 · 877 阅读 · 0 评论 -
【map+审题】#19 A. World Football Cup
A. World Football Cuptime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputEveryone knows that 2010 FIFA World Cu原创 2014-05-28 20:12:37 · 1526 阅读 · 0 评论 -
【strstr】#23 A. You're Given a String...
A. You're Given a String...time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou're given a string of lower-原创 2014-05-30 15:29:03 · 882 阅读 · 0 评论 -
【水模拟】#25 A. IQ test
A. IQ testtime limit per test: 2 secondsmemory limit per test: 256 megabytes Bob is preparing to pass IQ test. The most frequent task in this test is to find out which one of the given n num...原创 2014-06-03 22:07:04 · 1141 阅读 · 0 评论 -
【找最值】#87 A. Tram
A. Tramtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLinear Kingdom has exactly one tram line. It has n原创 2015-01-30 01:07:18 · 874 阅读 · 0 评论 -
【string比较】#85 A. Petya and Strings
Little Petya loves presents. His mum bought him two strings of the same size for his birthday. The strings consist of uppercase and lowercase Latin letters. Now Petya wants to compare those two strings lexicographically. The letters' case does not matter,原创 2014-11-29 21:32:51 · 1413 阅读 · 0 评论 -
【substr】#76 A. Restoring Password
A. Restoring Passwordtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIgor K. always used to trust his favo原创 2014-11-15 21:36:43 · 1032 阅读 · 0 评论 -
【水模拟】#67 A. Life Without Zeros
这道题呀,题意是说给你两个数字,如果#include #include #include #include #include using namespace std;typedef long long ll;int del0(int x){ int ret=0,tmp=x,time=1; while(tmp) { int digit=tmp%10; if(di原创 2014-10-20 17:40:12 · 1051 阅读 · 0 评论 -
【题意string】#78 A. Help Far Away Kingdom
A. Help Far Away Kingdomtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn a far away kingdom lived the Ki原创 2014-11-28 17:38:35 · 1071 阅读 · 0 评论
分享