結果

問題 No.3060 サンプルケース至上主義
ユーザー harady_a_humanharady_a_human
提出日時 2020-04-01 23:41:52
言語 C++17
(gcc 13.2.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 420 bytes
コンパイル時間 2,006 ms
コンパイル使用メモリ 197,912 KB
実行使用メモリ 4,384 KB
最終ジャッジ日時 2023-09-09 20:20:00
合計ジャッジ時間 2,450 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 1 ms
4,380 KB
testcase_04 AC 2 ms
4,380 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp:4:1: 警告: ISO C++ では型の無い ‘main’ の宣言を禁止しています [-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