Submission #1997781
Source Code Expand
#include <iostream> int main() { int a, b, c, output; std::cin >> a; std::cin >> b; std::cin >> c; if (b != a && b != c) { output = 3; } else if (b == a && b == c) { output = 1; } else { output = 2; } std::cout << output << std::endl; return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - AtCoDeer and Paint Cans |
User | konatsu_p |
Language | C++14 (GCC 5.4.1) |
Score | 0 |
Code Size | 327 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 | 0_000.txt, 0_001.txt |
All | 0_000.txt, 0_001.txt, 1_002.txt, 1_003.txt, 1_004.txt, 1_005.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
0_000.txt | AC | 1 ms | 256 KB |
0_001.txt | AC | 1 ms | 256 KB |
1_002.txt | WA | 1 ms | 256 KB |
1_003.txt | AC | 1 ms | 256 KB |
1_004.txt | AC | 1 ms | 256 KB |
1_005.txt | AC | 1 ms | 256 KB |