提出 #70149454
ソースコード 拡げる
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; (i) < (n); ++(i))
#define rall(x) x.rbegin(),x.rend()
#define all(x) x.begin(), x.end()
int main() {
int X,Y,Z;
cin>>X>>Y>>Z;
if(X<=Z||Y<=Z){
cout<<"1"<<endl;
}
else{
cout<<"0"<<endl;
}
}
提出情報
| 提出日時 | |
|---|---|
| 問題 | B - 帰省 2 (Homecoming 2) |
| ユーザ | Wakiwaki |
| 言語 | C++ 20 (gcc 12.2) |
| 得点 | 100 |
| コード長 | 297 Byte |
| 結果 | AC |
| 実行時間 | 1 ms |
| メモリ | 3656 KiB |
ジャッジ結果
| セット名 | Sample | All | ||||
|---|---|---|---|---|---|---|
| 得点 / 配点 | 0 / 0 | 100 / 100 | ||||
| 結果 |
|
|
| セット名 | テストケース |
|---|---|
| Sample | sample-01.txt, sample-02.txt, sample-03.txt, sample-04.txt |
| All | 01-01.txt, 01-02.txt, 01-03.txt, 01-04.txt, 01-05.txt, 01-06.txt, 01-07.txt, 01-08.txt, 01-09.txt, 01-10.txt, 01-11.txt, 01-12.txt, 01-13.txt, 01-14.txt, sample-01.txt, sample-02.txt, sample-03.txt, sample-04.txt |
| ケース名 | 結果 | 実行時間 | メモリ |
|---|---|---|---|
| 01-01.txt | AC | 1 ms | 3480 KiB |
| 01-02.txt | AC | 1 ms | 3460 KiB |
| 01-03.txt | AC | 1 ms | 3580 KiB |
| 01-04.txt | AC | 1 ms | 3484 KiB |
| 01-05.txt | AC | 1 ms | 3520 KiB |
| 01-06.txt | AC | 1 ms | 3528 KiB |
| 01-07.txt | AC | 1 ms | 3420 KiB |
| 01-08.txt | AC | 1 ms | 3524 KiB |
| 01-09.txt | AC | 1 ms | 3388 KiB |
| 01-10.txt | AC | 1 ms | 3520 KiB |
| 01-11.txt | AC | 1 ms | 3528 KiB |
| 01-12.txt | AC | 1 ms | 3656 KiB |
| 01-13.txt | AC | 1 ms | 3460 KiB |
| 01-14.txt | AC | 1 ms | 3468 KiB |
| sample-01.txt | AC | 1 ms | 3384 KiB |
| sample-02.txt | AC | 1 ms | 3524 KiB |
| sample-03.txt | AC | 1 ms | 3436 KiB |
| sample-04.txt | AC | 1 ms | 3528 KiB |