会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
幽蝶
博客园
首页
新随笔
联系
订阅
管理
2019年3月14日
codeforces 552E
摘要: 题解: 显然括号只能在*旁边(左括号在*右边,右括号在*左边)才有意义 所以枚举括号位置,表达式求值check 表达式求值偷懒用了Py的eval 1 import math 2 s="*" 3 s=s+input() 4 s=s+"*" 5 n=len(s) 6 ans=0 7 for i in r
阅读全文
posted @ 2019-03-14 00:22 幽蝶
阅读(212)
评论(0)
推荐(0)
编辑
公告