Submission #2528155
Source Code Expand
#include <cstdio> #include <iostream> using namespace std; int main() { int n; cin >> n; while (n > 0) { int tmp = 0; tmp = n % 10; if (n == 9) { cout << "Yes" << endl; return 0; } n /= 10; } cout << "No" << endl; return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - September 9 |
User | ryo2851 |
Language | C++14 (Clang 3.8.0) |
Score | 0 |
Code Size | 335 Byte |
Status | WA |
Exec Time | 1 ms |
Memory | 256 KB |
Judge Result
Set Name | Sample | All | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 100 | ||||||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | sample01.txt, sample02.txt, sample03.txt |
All | 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, sample01.txt, sample02.txt, sample03.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
01.txt | AC | 1 ms | 256 KB |
02.txt | AC | 1 ms | 256 KB |
03.txt | WA | 1 ms | 256 KB |
04.txt | AC | 1 ms | 256 KB |
05.txt | WA | 1 ms | 256 KB |
06.txt | AC | 1 ms | 256 KB |
sample01.txt | WA | 1 ms | 256 KB |
sample02.txt | AC | 1 ms | 256 KB |
sample03.txt | AC | 1 ms | 256 KB |