結果

問題 No.8060 サンプルケース至上主義
ユーザー harady_a_human
提出日時 2020-04-01 23:41:52
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 420 bytes
コンパイル時間 2,553 ms
コンパイル使用メモリ 191,984 KB
最終ジャッジ日時 2025-01-09 12:27:40
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 3
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp:4:1: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
    4 | main () {
      | ^~~~

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

main () {
    string s; cin >> s;
    if (s[0] == '0') {
        cout << "nothing" << endl;
    } else if (s[0] == 3) {
        cout << "pi" << endl;
    } else if (s[0] == 1) {
        cout << "九蓮宝燈\nThirteen Orphans" << endl;
    } else if (s[0] == 'A') {
        cout << "3\n4\n4\n3\n6\n2\n2" << endl;
    } else {
        cout << "さmpぇ" << endl;
    }
}
0