Please sign in first.
提出 #64730428
ソースコード 拡げる
#include<bits/stdc++.h> #define inl inline #define rep(i,x,y) for(int i=x;i<=(y);++i) #define per(i,x,y) for(int i=x;i>=(y);--i) #define fst ios::sync_with_stdio(0);cin.tie(0);cout.tie(0); typedef long long ll; using namespace std; const int INF=INT_MAX; inl int sf(){ int x=0,f=1;char c=getchar(); while(c<'0'||c>'9'){if(c=='-')f=-1;c=getchar();} while(c>='0'&&c<='9'){x=(x<<1)+(x<<3)+(c^48);c=getchar();} return x*f; } inl void out(int n){ if(n<0){putchar('-');n=-n;} if(n>9)out(n/10); putchar(n%10^48); } int n; int main(){ fst; cin>>n; if(n>=200&&n<=299){ cout<<"Success"; }else{ cout<<"Failure"; } return 0; }
提出情報
提出日時 | |
---|---|
問題 | A - Status Code |
ユーザ | Inf_Proximity |
言語 | C++ 17 (gcc 12.2) |
得点 | 100 |
コード長 | 686 Byte |
結果 | AC |
実行時間 | 1 ms |
メモリ | 3520 KiB |
ジャッジ結果
セット名 | Sample | All | ||||
---|---|---|---|---|---|---|
得点 / 配点 | 0 / 0 | 100 / 100 | ||||
結果 |
|
|
セット名 | テストケース |
---|---|
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_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 |
ケース名 | 結果 | 実行時間 | メモリ |
---|---|---|---|
00_sample_00.txt | AC | 1 ms | 3396 KiB |
00_sample_01.txt | AC | 1 ms | 3480 KiB |
00_sample_02.txt | AC | 1 ms | 3420 KiB |
01_random_03.txt | AC | 1 ms | 3332 KiB |
01_random_04.txt | AC | 1 ms | 3392 KiB |
01_random_05.txt | AC | 1 ms | 3384 KiB |
01_random_06.txt | AC | 1 ms | 3424 KiB |
01_random_07.txt | AC | 1 ms | 3420 KiB |
01_random_08.txt | AC | 1 ms | 3460 KiB |
01_random_09.txt | AC | 1 ms | 3520 KiB |
01_random_10.txt | AC | 1 ms | 3424 KiB |