提出 #73046552
ソースコード 拡げる
#include <iostream>
using namespace std;
int main()
{
int n;
cin >> n;
if(n%10 == (n/10)%10 && n%10 == (n/100)%10) cout << "Yes" << endl;
else cout << "No" << endl;
}
提出情報
| 提出日時 | |
|---|---|
| 問題 | A - Repdigit |
| ユーザ | Shumpei1 |
| 言語 | C++23 (GCC 15.2.0) |
| 得点 | 100 |
| コード長 | 184 Byte |
| 結果 | AC |
| 実行時間 | 1 ms |
| メモリ | 3612 KiB |
ジャッジ結果
| セット名 | Sample | All | ||||
|---|---|---|---|---|---|---|
| 得点 / 配点 | 0 / 0 | 100 / 100 | ||||
| 結果 |
|
|
| セット名 | テストケース |
|---|---|
| Sample | 0_sample_1.txt, 0_sample_2.txt, 0_sample_3.txt |
| All | 0_sample_1.txt, 0_sample_2.txt, 0_sample_3.txt, 1_1.txt, 2_1.txt, 2_2.txt, 2_3.txt, 2_4.txt, 3_1.txt, 3_2.txt |
| ケース名 | 結果 | 実行時間 | メモリ |
|---|---|---|---|
| 0_sample_1.txt | AC | 1 ms | 3364 KiB |
| 0_sample_2.txt | AC | 1 ms | 3504 KiB |
| 0_sample_3.txt | AC | 1 ms | 3484 KiB |
| 1_1.txt | AC | 1 ms | 3360 KiB |
| 2_1.txt | AC | 1 ms | 3532 KiB |
| 2_2.txt | AC | 1 ms | 3432 KiB |
| 2_3.txt | AC | 1 ms | 3440 KiB |
| 2_4.txt | AC | 1 ms | 3532 KiB |
| 3_1.txt | AC | 1 ms | 3612 KiB |
| 3_2.txt | AC | 1 ms | 3588 KiB |