結果
| 問題 |
No.8080 A0xxxxx
|
| コンテスト | |
| ユーザー |
arashin
|
| 提出日時 | 2021-04-01 23:06:28 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 505 bytes |
| コンパイル時間 | 1,884 ms |
| コンパイル使用メモリ | 165,852 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-12-21 07:05:41 |
| 合計ジャッジ時間 | 2,145 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 WA * 9 |
コンパイルメッセージ
main.cpp:11:28: warning: multi-character character constant [-Wmultichar]
11 | if (n == 2)cout << '14' << endl;
| ^~~~
ソースコード
#include<bits/stdc++.h>
using namespace std;
using u64 = uint_least64_t;
using s64 = int_least64_t;
using ll = uint_least64_t;
int main(){
int n;
cin >> n;
if (n == 1)cout << '7' << endl;
if (n == 2)cout << '14' << endl;
if (n == 3)cout << '1' << endl;
if (n == 4)cout << '6' << endl;
if (n == 5)cout << '7' << endl;
if (n == 6)cout << '6' << endl;
if (n == 7)cout << '7' << endl;
if (n == 8)cout << '0' << endl;
if (n == 9)cout << '1' << endl;
if (n == 10)cout << '0' << endl;
return 0;
}
arashin