摘要: A. Yura's New Name 一个简单的 dp,状态是$f[i][0/1]$表示前$i$位变成合法的且最后一位是^或_的最小代价。 如果是_只能从^转移过来,如果是^则都可以转移过来 #include <bits/stdc++.h> using namespace std; void sol 阅读全文
posted @ 2023-04-18 22:54 PHarr 阅读(19) 评论(0) 推荐(0) 编辑
摘要: L1-1 嫑废话上代码 Talk is cheap. Show me the code. L1-2 猫是液体 a , b , c = map( int , input().split(' ') ) print( a * b * c ) L1-3 洛希极限 #include <bits/stdc++. 阅读全文
posted @ 2023-04-18 21:25 PHarr 阅读(13) 评论(0) 推荐(0) 编辑