提出 #43088214


ソースコード 拡げる

#include<bits/stdc++.h>
using namespace std;
typedef long long ll;

int main(){
	ios_base::sync_with_stdio(false); cin.tie(NULL);
	int p = 0;
	for(int i=1; i<=8; i++){
		int x; cin>>x;
		if(p > x || x%25){
			cout<<"No";
			return 0;
		}
		if(100 <= x && x<=675){
			p = x;
			continue;
		}
		cout<<"No";
		return 0;
	}
	cout<<"Yes";
}

提出情報

提出日時
問題 A - New Scheme
ユーザ belphegor
言語 C++ (GCC 9.2.1)
得点 100
コード長 356 Byte
結果 AC
実行時間 3 ms
メモリ 3476 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 3
AC × 20
セット名 テストケース
Sample 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt
All 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 01_random_00.txt, 01_random_01.txt, 01_random_02.txt, 01_random_03.txt, 01_random_04.txt, 01_random_05.txt, 01_random_06.txt, 01_random_07.txt, 01_random_08.txt, 01_random_09.txt, 01_random_10.txt, 01_random_11.txt, 01_random_12.txt, 02_handmade_00.txt, 02_handmade_01.txt, 02_handmade_02.txt, 02_handmade_03.txt
ケース名 結果 実行時間 メモリ
00_sample_00.txt AC 1 ms 3424 KiB
00_sample_01.txt AC 2 ms 3432 KiB
00_sample_02.txt AC 1 ms 3424 KiB
01_random_00.txt AC 2 ms 3448 KiB
01_random_01.txt AC 3 ms 3428 KiB
01_random_02.txt AC 2 ms 3428 KiB
01_random_03.txt AC 2 ms 3448 KiB
01_random_04.txt AC 2 ms 3424 KiB
01_random_05.txt AC 2 ms 3424 KiB
01_random_06.txt AC 2 ms 3428 KiB
01_random_07.txt AC 2 ms 3476 KiB
01_random_08.txt AC 2 ms 3432 KiB
01_random_09.txt AC 3 ms 3460 KiB
01_random_10.txt AC 2 ms 3432 KiB
01_random_11.txt AC 2 ms 3428 KiB
01_random_12.txt AC 2 ms 3428 KiB
02_handmade_00.txt AC 2 ms 3416 KiB
02_handmade_01.txt AC 2 ms 3452 KiB
02_handmade_02.txt AC 2 ms 3380 KiB
02_handmade_03.txt AC 2 ms 3460 KiB