Submission #22799999
Source Code Expand
#include <bits/stdc++.h>
using namespace std;
int main(){
int a,b,c;
cin >> a >> b >> c;
int d = 21-a-b-c;
cout << d;
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - Three Dice |
| User | hocashi |
| Language | C++ (GCC 9.2.1) |
| Score | 100 |
| Code Size | 133 Byte |
| Status | AC |
| Exec Time | 7 ms |
| Memory | 3628 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | sample_00.txt, sample_01.txt |
| All | sample_00.txt, sample_01.txt, test_00.txt, test_01.txt, test_02.txt, test_03.txt, test_04.txt, test_05.txt, test_06.txt, test_07.txt, test_08.txt, test_09.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| sample_00.txt | AC | 7 ms | 3596 KiB |
| sample_01.txt | AC | 3 ms | 3412 KiB |
| test_00.txt | AC | 3 ms | 3524 KiB |
| test_01.txt | AC | 3 ms | 3448 KiB |
| test_02.txt | AC | 3 ms | 3628 KiB |
| test_03.txt | AC | 2 ms | 3600 KiB |
| test_04.txt | AC | 2 ms | 3528 KiB |
| test_05.txt | AC | 2 ms | 3408 KiB |
| test_06.txt | AC | 3 ms | 3436 KiB |
| test_07.txt | AC | 2 ms | 3596 KiB |
| test_08.txt | AC | 2 ms | 3400 KiB |
| test_09.txt | AC | 2 ms | 3600 KiB |