結果
問題 |
No.1795 AtCoder Heuristic Rating coloring
|
ユーザー |
![]() |
提出日時 | 2021-12-24 10:39:14 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 304 ms / 2,000 ms |
コード長 | 257 bytes |
コンパイル時間 | 748 ms |
コンパイル使用メモリ | 69,576 KB |
実行使用メモリ | 17,536 KB |
最終ジャッジ日時 | 2024-09-20 03:22:49 |
合計ジャッジ時間 | 7,111 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 54 |
ソースコード
#include <iostream> #include <map> #include <string> using namespace std; int main(){ map<string,string> h; long n,m; cin>>n>>m; for(long i=0;i<n+m;++i){ string s,a; cin>>s>>a; h[s]=a; } for(auto t:h){ cout<<t.first<<" "<<t.second<<endl; } }