結果
| 問題 |
No.1795 AtCoder Heuristic Rating coloring
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-01-09 00:25:01 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 333 ms / 2,000 ms |
| コード長 | 261 bytes |
| コンパイル時間 | 961 ms |
| コンパイル使用メモリ | 77,092 KB |
| 実行使用メモリ | 14,592 KB |
| 最終ジャッジ日時 | 2024-11-14 10:04:36 |
| 合計ジャッジ時間 | 10,033 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 54 |
ソースコード
#include <iostream>
#include <map>
using namespace std;
int main(){
int n,m;cin>>n>>m;
map<string,int> A;
for(int i = 0; n+m > i; i++){
string s;int t;cin>>s>>t;
A[s] = t;
}
for(auto x: A){
cout << x.first << " " << x.second << endl;
}
}