結果

問題 No.2590 100000 Days of Christmas
ユーザー 👑 p-adic
提出日時 2023-11-23 16:49:20
言語 cLay
(20241019-1)
結果
AC  
実行時間 137 ms / 2,000 ms
コード長 139 bytes
コンパイル時間 3,185 ms
コンパイル使用メモリ 180,220 KB
実行使用メモリ 12,288 KB
最終ジャッジ日時 2024-09-27 08:10:55
合計ジャッジ時間 5,207 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

ll@N;map<string,ll>S;string T;rep(j,N){getline(cin,T);S[T]+=(j+1)*(N-j);}auto i=S.begin(),e=S.end();for(;i!=e;i++)wt(i->second,T=i->first);
0