数学
sxk_sxy
努力用自己辛勤的汗水,成为一名真正的ACMer
展开
-
HDU 1196 Lowest Bit (数位)
Lowest BitTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 8166 Accepted Submission(s): 5998Problem DescriptionGiven an posi原创 2014-11-14 21:04:31 · 935 阅读 · 0 评论 -
URAL 1567. SMS-spam (小学数学题)
1567. SMS-spamTime limit: 1.0 secondMemory limit: 64 MBPetr, a student, decided to start his own business. He offers SMS advertising services to the business owners renting offices in原创 2015-03-07 11:02:10 · 908 阅读 · 0 评论 -
URAL 1209. 1, 10, 100, 1000... (规律 + 二分)
1209. 1, 10, 100, 1000...Time limit: 1.0 secondMemory limit: 64 MBLet's consider an infinite sequence of digits constructed of ascending powers of 10 written one after another. Here is原创 2015-03-06 20:49:15 · 898 阅读 · 0 评论 -
Codeforces Round #261 (Div. 2) B. Pashmak and Flowers (sorting)
B. Pashmak and Flowerstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPashmak decided to give Parmida a pair of flowe原创 2015-06-18 16:35:57 · 704 阅读 · 0 评论 -
URAL 1638. Bookworm
1638. BookwormTime limit: 1.0 secondMemory limit: 64 MBPetya bought a 100-volume edition of Advice of Veterans of Programming Contests and hoped that the succession of his failures would c原创 2015-06-19 14:54:24 · 706 阅读 · 0 评论 -
URAL 1120. Sum of Sequential Numbers (数学)
1120. Sum of Sequential NumbersTime limit: 1.0 secondMemory limit: 64 MBThere is no involute formulation concerning factitiously activity of SKB Kontur in this problem. Moreover, there is原创 2015-06-21 15:45:19 · 829 阅读 · 0 评论 -
URAL 1902. Neo-Venice
1902. Neo-VeniceTime limit: 1.0 secondMemory limit: 64 MBMars was the first planet colonized by humans. After a long terraforming process its appearance has changed completely. From the re原创 2015-06-23 13:15:23 · 726 阅读 · 0 评论 -
URAL 1796. Amusement Park (math)
1796. Amusement ParkTime limit: 1.0 secondMemory limit: 64 MBOn a sunny Sunday, a group of children headed by their teacher came to an amusement park. Aunt Frosya,who was a very kind and q原创 2015-06-23 17:12:35 · 713 阅读 · 0 评论 -
URAL 1131. Copying (math)
1131. CopyingTime limit: 0.25 secondMemory limit: 64 MBA new educating program was received by the kindergarten. Of course, children have discovered it immediately and want to play with it原创 2015-06-23 18:39:22 · 619 阅读 · 0 评论 -
URAL 2025. Line Fighting (math)
2025. Line FightingTime limit: 1.0 secondMemory limit: 64 MBBoxing, karate, sambo… The audience is sick of classic combat sports. That is why a popular sports channel launches a new compet原创 2015-06-24 14:46:00 · 1405 阅读 · 0 评论 -
URAL 1457. Heating Main
1457. Heating MainTime limit: 1.0 secondMemory limit: 64 MBBackgroundI like my hometown very much. Those dilapidated buildings rising proudly above the city and streets dug up as far bac原创 2015-06-07 10:38:20 · 586 阅读 · 0 评论 -
URAL 1581. Teamwork
1581. TeamworkTime limit: 1.0 secondMemory limit: 64 MBVasya and Petya are going to participate in a team olympiad in informatics. They have listened to the stories told by the gurus o原创 2015-03-07 11:57:37 · 812 阅读 · 0 评论 -
URAL 1068. Sum (小学数学题)
1068. SumTime limit: 2.0 secondMemory limit: 64 MBYour task is to find the sum of all integer numbers lying between 1 and N inclusive.InputThe input consists of a single intege原创 2015-03-06 19:32:28 · 682 阅读 · 0 评论 -
HDU 1170 Balloon Comes!
Balloon Comes!Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 20356 Accepted Submission(s): 7673Problem DescriptionThe cont原创 2014-11-03 19:53:35 · 1557 阅读 · 0 评论 -
HDU 1720 A+B Coming
A+B ComingTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5856 Accepted Submission(s): 3839Problem DescriptionMany classmates原创 2014-11-03 19:40:16 · 1229 阅读 · 0 评论 -
HDU 2399 GPA
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2502 Accepted Submission(s): 1469Problem DescriptionEach course grade is one of原创 2014-11-03 20:01:28 · 1118 阅读 · 0 评论 -
Codeforces Round #278 (Div. 2)---B. Candy Boxes (暴力+构造)
AC代码:#include #include #include #include #include #include #include #include #include #include #include #include using namespace std;#define INF 0x7fffffffint a[5], b[5];int main()原创 2014-11-24 09:26:17 · 830 阅读 · 0 评论 -
UVa 10006 Carmichael Numbers (快速幂 + 素性测试)
Carmichael NumbersTime Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %lluSubmitStatus Description Carmichael Numbers原创 2015-01-30 17:40:00 · 1012 阅读 · 0 评论 -
UVa 10007 & hdu 1131 Count the Trees (卡特兰数)
Count the TreesCrawling in process...Crawling failedTime Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %lluSubmitStatus Description Count the T原创 2015-02-01 23:46:37 · 1252 阅读 · 0 评论 -
第三届沈阳航空航天大学校赛(大连海事大学赛)---签到题
Problem G: Hexadecimal conversionTime Limit: 1 Sec Memory Limit: 128 MBDescriptionInput a decimal integer converts it into hexadecimal.InputThere are multiple test c原创 2014-12-10 17:19:41 · 1397 阅读 · 0 评论 -
Codeforces Round #282 (Div. 2)---B. Modular Equations
Modular Equationstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputLast week, Hamed learned about a new typ原创 2014-12-14 08:19:45 · 1294 阅读 · 0 评论 -
hdu 1443 Joseph (约瑟夫环)
JosephTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1741 Accepted Submission(s): 1076Problem DescriptionThe Joseph's prob原创 2015-01-23 17:18:28 · 1537 阅读 · 0 评论 -
URAL 2011. Long Statement (数论)
2011. Long StatementTime limit: 0.5 secondMemory limit: 64 MBNikita, a schoolboy, is currently taking part in one of programming contests.He is really upset because all the problem stateme原创 2015-06-15 18:31:50 · 563 阅读 · 0 评论