Submission #73101168
Source Code Expand
#include <iostream>
using namespace std;
int main() {
int N=993;
int a = N/100;
int b = (N/10)%10;
int c = N%10;
if(a==b && b==c)
cout << "YES";
else
cout << "NO";
return 0;
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - Repdigit |
| User | praveen9kk |
| Language | C++23 (GCC 15.2.0) |
| Score | 0 |
| Code Size | 231 Byte |
| Status | WA |
| Exec Time | 1 ms |
| Memory | 3652 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 0 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| 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 |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 0_sample_1.txt | WA | 1 ms | 3636 KiB |
| 0_sample_2.txt | WA | 1 ms | 3488 KiB |
| 0_sample_3.txt | WA | 1 ms | 3564 KiB |
| 1_1.txt | WA | 1 ms | 3404 KiB |
| 2_1.txt | WA | 1 ms | 3336 KiB |
| 2_2.txt | WA | 1 ms | 3404 KiB |
| 2_3.txt | WA | 1 ms | 3652 KiB |
| 2_4.txt | WA | 1 ms | 3488 KiB |
| 3_1.txt | WA | 1 ms | 3460 KiB |
| 3_2.txt | WA | 1 ms | 3568 KiB |