結果
問題 | No.1591 Two Digits |
ユーザー |
![]() |
提出日時 | 2021-07-09 22:09:01 |
言語 | C++17(clang Beta) (clang 13.0.0 + boost 1.78.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 663 bytes |
コンパイル時間 | 2,284 ms |
使用メモリ | 3,488 KB |
最終ジャッジ日時 | 2023-02-01 23:44:32 |
合計ジャッジ時間 | 3,523 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge13 |
テストケース
テストケース表示入力 | 結果 | 実行時間 使用メモリ |
---|---|---|
testcase_00 | AC | 1 ms
3,312 KB |
testcase_01 | AC | 1 ms
3,384 KB |
testcase_02 | AC | 1 ms
3,312 KB |
testcase_03 | AC | 2 ms
3,376 KB |
testcase_04 | AC | 1 ms
3,376 KB |
testcase_05 | AC | 2 ms
3,304 KB |
testcase_06 | AC | 1 ms
3,488 KB |
testcase_07 | AC | 2 ms
3,388 KB |
testcase_08 | AC | 1 ms
3,368 KB |
testcase_09 | AC | 2 ms
3,316 KB |
testcase_10 | AC | 1 ms
3,308 KB |
testcase_11 | AC | 1 ms
3,304 KB |
testcase_12 | AC | 2 ms
3,484 KB |
testcase_13 | AC | 2 ms
3,392 KB |
testcase_14 | AC | 1 ms
3,392 KB |
testcase_15 | AC | 2 ms
3,312 KB |
testcase_16 | AC | 1 ms
3,404 KB |
testcase_17 | AC | 1 ms
3,288 KB |
testcase_18 | AC | 1 ms
3,400 KB |
testcase_19 | AC | 2 ms
3,384 KB |
ソースコード
#include <bits/stdc++.h> using namespace std; typedef long long ll; const int INF = (1<<30)-1; const ll LINF = (1LL<<60)-1; #define rep(i, n) for (int i = 0; i < n; i++) #define sz(a) (int)(a.size()) template<class T> bool chmax(T &a, T b) {if (a < b) {a = b;return true;}else return false;} template<class T> bool chmin(T &a, T b) {if (a > b) {a = b;return true;}else return false;} //コーナーケースに気をつけろ! int main() { string s; cin >> s; if (s.size() == 2) cout << "Yes" << endl; else cout << "No" << endl; return 0; } //小数点精度 //cout << fixed << std::setprecision(15) << y << endl;