随笔分类 - ACM
摘要:A. Diverse Team time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A. Diverse Team time limi
阅读全文
摘要:[编程|500分] 开关灯时间限制:C/C++ 1秒,其他语言 2秒空间限制:C/C++ 262144K,其他语言 524288K64bit IO Format: %lld题目描述美团的办公室一共有n层,每层有m个会议室,可以看成是一个n*m的网格图。工程师们每天的工...
阅读全文
摘要:B. Substrings Sorttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given n...
阅读全文
摘要:Prime Path POJ - 3126 The ministers of the cabinet were quite upset by the message from the Chief of Security stating that they would ...
阅读全文
摘要:Pots POJ - 3414 You are given two pots, having the volume of A and B liters respectively. The following operations can be performed:FI...
阅读全文
摘要:Filling Out the Team POJ - 2070 Over the years, the people of the great city of Pittsburgh have repeatedly demonstrated a collective e...
阅读全文
摘要:Big Number POJ - 1423 In many applications very large integers numbers are required. Some of these applications are using keys for sec...
阅读全文
摘要:Calendar POJ - 2080 A calendar is a system for measuring time, from hours and minutes, to months and days, and finally to years and ce...
阅读全文
摘要:Fibonacci String HDU - 1708 After little Jim learned Fibonacci Number in the class , he was very interest in it.Now he is thinking abo...
阅读全文
摘要:Message Decowding HDU - 2716The cows are thrilled because they've just learned about encrypting messages. They think they will be able...
阅读全文
摘要:Speed Limit POJ - 2017 Bill and Ted are taking a road trip. But the odometer in their car is broken, so they don't know how many miles...
阅读全文
摘要:字符串统计 HDU - 2017 对于给定的一个字符串,统计其中数字字符出现的次数。Input输入数据有多行,第一行是一个整数n,表示测试实例的个数,后面跟着n行,每行包括一个由字母和数字组成的字符串。Output对于每个测试实例,输出该串中数值的个数,每个输出占一行...
阅读全文
摘要:03-树3 Tree Traversals Again(25 分)An inorder binary tree traversal can be implemented in a non-recursive way with a stack. For example,...
阅读全文
摘要:头文件#define _CRT_SBCURE_NO_DEPRECATE#include #include #include #include #include #include #include #include #include #include #include ...
阅读全文
摘要:F. Flower RoadOnce upon a time, there was a beautiful princess named TQM, and a handsome prince named GSS. One day, the prince would l...
阅读全文
摘要:Hopscotch POJ - 3050 The cows play the child's game of hopscotch in a non-traditional way. Instead of a linear set of numbered boxes i...
阅读全文
摘要:Network Saboteur FZU - 1346 A university network is composed of N computers. System administrators gathered information on the traffic...
阅读全文
摘要:A Knight's Journey POJ - 2488 Background The knight is getting bored of seeing the same black and white squares again and again and ha...
阅读全文
摘要:Sudoku POJ - 2676 Sudoku is a very simple task. A square table with 9 rows and 9 columns is divided to 9 smaller squares 3x3 as shown ...
阅读全文
摘要:Square POJ - 2362 Given a set of sticks of various lengths, is it possible to join them end-to-end to form a square?InputThe first lin...
阅读全文

浙公网安备 33010602011771号