結果

問題 No.395 永遠の17歳
ユーザー Yug_min_null
提出日時 2021-10-01 20:25:22
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 284 bytes
コンパイル時間 1,693 ms
コンパイル使用メモリ 186,552 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-19 08:50:17
合計ジャッジ時間 2,412 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 17
権限があれば一括ダウンロードができます

ソースコード

diff #

#define _GLIBCXX_DEBUG
#define ll long long
#define INF 1000000000;
#define INF_B 1000000000000000000;
#include <bits/stdc++.h>
using namespace std;
using Graph = vector<vector<int>>;

int main(){
  int A; cin >> A;
  int ans;
  A >= 15 ? ans = A-7: ans = -1;
  cout << ans << endl;
}
0