洛谷 P3613 寄包柜(STL)
时间限制1.00s 内存限制125.00MB题目描述输入格式第一行 2 个整数 n 和 q,寄包柜个数和询问次数。接下来 q 个整数,表示一次操作。输出格式对于查询操作时,输出答案。输入输出样例输入 #15 41 3 10000 1145141 1 1 12 3 100002 1 1输出 #11145141#include <bits/stdc++.h>using namespace std;map <int, int> mat[100005]
原创
2020-10-06 18:04:46 ·
398 阅读 ·
0 评论