結果

問題 No.1795 AtCoder Heuristic Rating coloring
ユーザー okkuukenkenokkuukenken
提出日時 2022-07-16 14:22:29
言語 C++23
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 316 ms / 2,000 ms
コード長 406 bytes
コンパイル時間 1,313 ms
コンパイル使用メモリ 131,692 KB
実行使用メモリ 14,568 KB
最終ジャッジ日時 2023-09-10 23:03:17
合計ジャッジ時間 13,040 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,380 KB
testcase_01 AC 1 ms
4,380 KB
testcase_02 AC 1 ms
4,380 KB
testcase_03 AC 2 ms
4,380 KB
testcase_04 AC 7 ms
4,380 KB
testcase_05 AC 7 ms
4,380 KB
testcase_06 AC 7 ms
4,380 KB
testcase_07 AC 7 ms
4,376 KB
testcase_08 AC 7 ms
4,380 KB
testcase_09 AC 8 ms
4,380 KB
testcase_10 AC 8 ms
4,384 KB
testcase_11 AC 8 ms
4,376 KB
testcase_12 AC 1 ms
4,380 KB
testcase_13 AC 2 ms
4,376 KB
testcase_14 AC 2 ms
4,384 KB
testcase_15 AC 2 ms
4,376 KB
testcase_16 AC 2 ms
4,380 KB
testcase_17 AC 1 ms
4,380 KB
testcase_18 AC 1 ms
4,376 KB
testcase_19 AC 1 ms
4,376 KB
testcase_20 AC 2 ms
4,376 KB
testcase_21 AC 2 ms
4,380 KB
testcase_22 AC 1 ms
4,376 KB
testcase_23 AC 2 ms
4,376 KB
testcase_24 AC 2 ms
4,380 KB
testcase_25 AC 2 ms
4,380 KB
testcase_26 AC 2 ms
4,380 KB
testcase_27 AC 2 ms
4,380 KB
testcase_28 AC 2 ms
4,376 KB
testcase_29 AC 2 ms
4,376 KB
testcase_30 AC 2 ms
4,380 KB
testcase_31 AC 2 ms
4,380 KB
testcase_32 AC 110 ms
6,332 KB
testcase_33 AC 80 ms
6,024 KB
testcase_34 AC 163 ms
7,400 KB
testcase_35 AC 142 ms
6,956 KB
testcase_36 AC 169 ms
7,836 KB
testcase_37 AC 91 ms
5,952 KB
testcase_38 AC 90 ms
6,044 KB
testcase_39 AC 177 ms
7,800 KB
testcase_40 AC 122 ms
6,776 KB
testcase_41 AC 164 ms
7,504 KB
testcase_42 AC 107 ms
6,392 KB
testcase_43 AC 116 ms
6,932 KB
testcase_44 AC 149 ms
7,612 KB
testcase_45 AC 108 ms
6,384 KB
testcase_46 AC 181 ms
8,064 KB
testcase_47 AC 49 ms
4,704 KB
testcase_48 AC 109 ms
6,532 KB
testcase_49 AC 198 ms
8,156 KB
testcase_50 AC 99 ms
6,012 KB
testcase_51 AC 88 ms
5,940 KB
testcase_52 AC 233 ms
10,420 KB
testcase_53 AC 239 ms
10,752 KB
testcase_54 AC 314 ms
14,280 KB
testcase_55 AC 316 ms
14,356 KB
testcase_56 AC 315 ms
14,568 KB
testcase_57 AC 313 ms
14,324 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<vector>
#include<algorithm>
#include<cmath>
#include<string>
#include<iomanip>
#include<numeric>
#include<queue>
#include<deque>
#include<stack>
#include<set>
#include<map>
using namespace std;
typedef long long ll;
const int mod=1e9+7;
int main(){
	int n,m,a;
	string s;
	cin>>n>>m;
	map<string,int>mp;
	while(cin>>s>>a)
		mp[s]=a;
	for(auto[s,a]:mp)
		cout<<s<<' '<<a<<endl;
}
0