結果
問題 |
No.3195 Three-Letter Acronym
|
ユーザー |
|
提出日時 | 2025-06-26 20:15:46 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 409 bytes |
コンパイル時間 | 681 ms |
コンパイル使用メモリ | 80,588 KB |
実行使用メモリ | 7,844 KB |
最終ジャッジ日時 | 2025-07-11 20:50:07 |
合計ジャッジ時間 | 1,514 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 23 |
ソースコード
#include <iostream> #include <string> #include <cctype> int main() { // 高速な入出力 std::ios_base::sync_with_stdio(false); std::cin.tie(NULL); std::string s1, s2, s3; std::cin >> s1 >> s2 >> s3; std::cout << (char)std::toupper(s1[0]) << (char)std::toupper(s2[0]) << (char)std::toupper(s3[0]) << std::endl; return 0; }