1297. Palindrome Time limit: 1.0 second Memory limit: 64 MB The “U.S. Robots” HQ has just received a rather alarming anonymous letter. It states that the agent from the competing «Robots Unli
1297. Palindrome Time Limit: 1.0 second Memory Limit: 16 MB The “U.S. Robots” HQ has just received a rather alarming anonymous letter. It states that the agent from the competing «Robots Unlim
Description The “U.S. Robots” HQ has just received a rather alarming anonymous letter. It states that the agent from the competing «Robots Unlimited» has infiltrated into “U.S. Robotics”. «U.S. Ro
题目 分析 那么这道题的概率期望应该是 ∑ m i n ( a , b ) a b = ∑ 1 m a x ( a , b ) \sum\frac{min(a,b)}{ab}=\sum\frac{1}{max(a,b)} ∑abmin(a,b)=∑max(a,b)1 所以直接模拟就可以了 代码 #include <cstdio>#define rr registerusin