subtask1ac了但是前面都红了,0分
查看原帖
subtask1ac了但是前面都红了,0分
1057068
Faded_wind123楼主2024/5/19 20:40
#include<bits/stdc++.h>
using namespace std;
map<int,int> a[10003];
int main(){
    int m,n;
    cin>>m>>n;
    while(n--){
        int x,i,j,k;
        cin>>x;
        if(x==1){
            cin>>i>>j>>k;
            a[i][j]=k;
        }else{
            cin>>i>>j;
            cout<<a[i][j]<<endl;
        }
    }
    return 0;
}
2024/5/19 20:40
加载中...