UVa 11150 Cola (water ver.) 11150 - Cola Time limit: 3.000 seconds http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=2091 You see the following special offer by the convenience store: " A bottle of Choco Cola for every 3 empty b...
11150 UVa 11150 - Cola Jun 21, 2016 11151 clean up with new built-in min() and max() Aug 22, 2023 11152 UVa 11152 - Colourful Flowers Mar 22, 2017 11172 code clean up Dec 21, 2016 11185 UVa 11185 - Ternary May 27, 2016 11192 code clean up Aug 7, 2017 112 code clean up Oct...
UVa11150_Cola.java UVa11151_LongestPalindrome.java UVa11152_ColourfulFlowers.java UVa11172_RelationalOperator.java UVa11185_Ternary.java UVa11192_GroupReverse.java UVa11195_AnothernQueenProblem.java UVa11198_DancingDigits.java UVa11201_Theproblemofthecrazylinguist.java UVa11205_Thebrokenpedometer.java ...
9 10035 Primary Arithmetic 6268 4 10 10018 Reverse and Add 6061 4 11 108 Maximum Sum 6022 4 12 113 Power of Cryptography 5804 5 13 494 Kindergarten Counting Game 5784 5 14 299 Train Swapping 5752 5 15 10082 WERTYU 5481 5 16 101 The Blocks Problem 5225 5 17 591 Box of Bricks 5113 5...
思路:很明显,拓扑排序。 注意最后要多输出一个换行,否则会WA! 完整代码: /*0.016s*/ #include<bits/stdc++.h> using namespace std; list<int> l[27]; char last[25], now[25]; bool has[27], vis[27]; int ans[27], cnt; void dfs(int i) ...
[ConvexHull].cpp │ ├── 11123 - Counting Trapizoid.cpp │ ├── 11130 - Billiard bounces.cpp │ ├── 11136 - Hoax or what.cpp │ ├── 11137 - Ingenuous Cubrency.cpp │ ├── 11138 - Nuts and Bolts.cpp │ ├── 11149 - Power of Matrix.cpp │ ├── 11150 - Cola....
[ConvexHull].cpp │ ├── 11123 - Counting Trapizoid.cpp │ ├── 11130 - Billiard bounces.cpp │ ├── 11136 - Hoax or what.cpp │ ├── 11137 - Ingenuous Cubrency.cpp │ ├── 11138 - Nuts and Bolts.cpp │ ├── 11149 - Power of Matrix.cpp │ ├── 11150 - Cola....
UVa11150_Cola.java UVa11151_LongestPalindrome.java UVa11152_ColourfulFlowers.java UVa11172_RelationalOperator.java UVa11185_Ternary.java UVa11192_GroupReverse.java UVa11195_AnothernQueenProblem.java UVa11198_DancingDigits.java UVa11201_Theproblemofthecrazylinguist.java UVa11205_Thebrokenpedometer.java ...
UVa11150_Cola.java UVa11151_LongestPalindrome.java UVa11152_ColourfulFlowers.java UVa11172_RelationalOperator.java UVa11185_Ternary.java UVa11192_GroupReverse.java UVa11195_AnothernQueenProblem.java UVa11198_DancingDigits.java UVa11201_Theproblemofthecrazylinguist.java UVa11205_Thebrokenpedometer.java ...
[ConvexHull].cpp │ ├── 11123 - Counting Trapizoid.cpp │ ├── 11130 - Billiard bounces.cpp │ ├── 11136 - Hoax or what.cpp │ ├── 11137 - Ingenuous Cubrency.cpp │ ├── 11138 - Nuts and Bolts.cpp │ ├── 11149 - Power of Matrix.cpp │ ├── 11150 - Cola....