摘要: map是哈希方式,可以改为函数形式,就是传入“+”,“-”返回1,*,/返回2,( 返回 0就行。 点击查看代码 #include<iostream> #include <map> using namespace std; typedef long long ll; const int N = 1e 阅读全文
posted @ 2024-10-14 11:24 这题太难了 阅读(71) 评论(0) 推荐(1)