Submission #00085
ソースコード
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #include <bits/stdc++.h> #define S << " " #define fin << "\n" #define rn long double #define SS << " " << #define nintendo switch #define lol long long int #define fout cout << "No\n" #define tout cout << "Yes\n" #define check cout << 1 fin; #define ins(i) if(i) cout << " " #define Iter(type) type::iterator #define usort(a) sort(a.begin() , a.end()) #define dsort(a) sort(a.rbegin() , a.rend()) #define fixout(a) cout << fixed << setprecision(a) #define push_pair(a , b) push_back(make_pair(a , b)) #define ub(a , b) upper_bound(a.begin() , a.end() , b) #define lb(a , b) lower_bound(a.begin() , a.end() , b) #define bs(a , b) binary_search(a.begin() , a.end() , b) #define dptable(n , m) vvec(lol , dp , n + 1 , m + 1 , 0) #define out_all(a , b) for(auto b = a.begin();b != a.end();b ++) cout << *b fin #define vvec(type , arr , n , m , def) vector<vector<type>> arr(n , vector<type> (m , def)) using namespace std; int main( void ){ ios::sync_with_stdio( false ); cin.tie(0); int a , b; cin >> a >> b; if (30 < a + b * 7) cout << 0 fin; else cout << 1 fin; return (0); } |
ステータス
項目 | データ |
---|---|
問題 | 0002 - 11月 |
ユーザー名 | Koba_gochiusa |
投稿日時 | 2024-03-29 12:12:31 |
言語 | C++17 |
状態 | Accepted |
得点 | 10 |
ソースコード長 | 1127 Byte |
最大実行時間 | 32 ms |
最大メモリ使用量 | 748 KB |
セット
セット | 得点 | Cases | |
---|---|---|---|
1 | ALL | 10 / 10 | * |
テストケース
ファイル名 | 状態 | 実行時間 | メモリ使用量 | # |
---|---|---|---|---|
01-01.txt | AC | 19 ms | 476 KB |
1
|
01-02.txt | AC | 19 ms | 436 KB |
1
|
01-03.txt | AC | 23 ms | 520 KB |
1
|
01-04.txt | AC | 22 ms | 600 KB |
1
|
01-05.txt | AC | 25 ms | 424 KB |
1
|
01-06.txt | AC | 20 ms | 632 KB |
1
|
01-07.txt | AC | 20 ms | 588 KB |
1
|
01-08.txt | AC | 24 ms | 536 KB |
1
|
01-09.txt | AC | 20 ms | 620 KB |
1
|
01-10.txt | AC | 25 ms | 580 KB |
1
|
01-11.txt | AC | 32 ms | 532 KB |
1
|
01-12.txt | AC | 28 ms | 620 KB |
1
|
01-13.txt | AC | 16 ms | 572 KB |
1
|
01-14.txt | AC | 21 ms | 524 KB |
1
|
01-15.txt | AC | 23 ms | 608 KB |
1
|
01-16.txt | AC | 24 ms | 564 KB |
1
|
01-17.txt | AC | 29 ms | 648 KB |
1
|
01-18.txt | AC | 19 ms | 608 KB |
1
|
01-19.txt | AC | 19 ms | 560 KB |
1
|
01-20.txt | AC | 20 ms | 516 KB |
1
|
01-21.txt | AC | 16 ms | 596 KB |
1
|
01-22.txt | AC | 15 ms | 676 KB |
1
|
01-23.txt | AC | 16 ms | 628 KB |
1
|
sample-01.txt | AC | 28 ms | 584 KB |
1
|
sample-02.txt | AC | 23 ms | 668 KB |
1
|
sample-03.txt | AC | 21 ms | 748 KB |
1
|