Submission #3261154
Source Code Expand
#include <cstdio> #include <string> using namespace std; bool contains(const char *s, char c) { return s[0] == c || s[1] == c || s[2] == c; } int main() { char s[3]; scanf("%s", s); if (contains(s, 'a') && contains(s, 'b') && contains(s, 'c')) { printf("Yes\n"); return 0; } printf("No\n"); return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - abc of ABC |
User | icewaterGreentea |
Language | C++ (Clang 3.8.0) |
Score | 0 |
Code Size | 351 Byte |
Status | RE |
Exec Time | 97 ms |
Memory | 256 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | s1.txt, s2.txt, s3.txt, s4.txt |
All | 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, 07.txt, 08.txt, s1.txt, s2.txt, s3.txt, s4.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
01.txt | RE | 96 ms | 256 KB |
02.txt | RE | 96 ms | 256 KB |
03.txt | RE | 97 ms | 256 KB |
04.txt | RE | 96 ms | 256 KB |
05.txt | RE | 97 ms | 256 KB |
06.txt | RE | 96 ms | 256 KB |
07.txt | RE | 96 ms | 256 KB |
08.txt | RE | 96 ms | 256 KB |
s1.txt | RE | 96 ms | 256 KB |
s2.txt | RE | 97 ms | 256 KB |
s3.txt | RE | 96 ms | 256 KB |
s4.txt | RE | 96 ms | 256 KB |