結果
| 問題 | No.1729 ~サンプルはちゃんと見て!~ 16進数と8進数(1) | 
| コンテスト | |
| ユーザー | 👑 | 
| 提出日時 | 2021-11-11 14:43:32 | 
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 230 bytes | 
| コンパイル時間 | 554 ms | 
| コンパイル使用メモリ | 70,312 KB | 
| 実行使用メモリ | 6,824 KB | 
| 最終ジャッジ日時 | 2024-11-22 20:27:12 | 
| 合計ジャッジ時間 | 1,555 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 9 WA * 15 | 
ソースコード
#include <iostream>
#include <algorithm>
using namespace std;
int main(){
    string s;cin>>s;
    sort(s.begin(),s.end());
    cout << 1;
    if(s[0] == s[s.size()-1]){
        cout << " " << s[0]-'A'+2;
    }
    cout << endl;
}
            
            
            
        