結果
| 問題 | No.8129 Personal Color |
| コンテスト | |
| ユーザー |
Shibaken28
|
| 提出日時 | 2026-04-01 22:22:20 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 2,323 bytes |
| 記録 | |
| コンパイル時間 | 5,613 ms |
| コンパイル使用メモリ | 329,748 KB |
| 実行使用メモリ | 337,596 KB |
| 最終ジャッジ日時 | 2026-04-01 22:22:29 |
| 合計ジャッジ時間 | 6,525 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 22 WA * 12 |
ソースコード
#include <algorithm>
#include <array>
#include <bitset>
#include <cassert>
#include <cctype>
#include <chrono>
#include <climits>
#include <cmath>
#include <cstdint>
#include <cstdio>
#include <deque>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <limits>
#include <map>
#include <numeric>
#include <print>
#include <queue>
#include <ranges>
#include <regex>
#include <set>
#include <span>
#include <sstream>
#include <stack>
#include <string>
#include <tuple>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>
// #include <atcoder/>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep1(i, n) for (int i = 1; i <= (int)(n); i++)
#define all(a) a.begin(), a.end()
using namespace std;
template <class T>
inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}
return false;
}
template <class T>
inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return true;
}
return false;
}
using ll = long long;
constexpr int INF = numeric_limits<int>::max() / 2;
constexpr ll LINF = numeric_limits<ll>::max() / 2;
void solve() {
// ここからスタート
string color = "FF6040";
string S;
cin >> S;
map<string, string> mp = {{"potato167", "028FF4"}, {"simonlindholm", "732E6C"},
{"sugim48", "C06000"}, {"peti1234", "0A9FEA"},
{"Nachia", "7878DB"}, {"hos_lyric", "CAD8F5"},
{"molamola", "FF40A2"}, {"liuhengxi", "C5DAB1"},
{"snuke", "1000AC"}, {"heno239", "6BB75B"},
{"maroonrk", "869120"}, {"semiexp", "92D050"},
{"Um_nik", "08E8DE"}, {"jcvb", "000000"},
{"scott_wu", "CC00FF"}, {"Radewoosh", "800080"},
{"mulgokizary", "FFC0CB"}, {"jiangly", "F8AAE5"},
{"Benq", "1E8449"}, {"ksun48", "FF00FF"},
{"yosupo", "274A78"}
};
if (mp.contains(S)) {
color = mp[S];
}
println("{}", color);
}
int main() {
cin.tie(0)->sync_with_stdio(false);
solve();
return 0;
}
Shibaken28