結果
| 問題 | No.8060 サンプルケース至上主義 |
| コンテスト | |
| ユーザー |
harady_a_human
|
| 提出日時 | 2020-04-01 23:41:52 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.89.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 () {
| ^~~~
ソースコード
#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;
}
}
harady_a_human