結果
問題 | No.395 永遠の17歳 |
ユーザー | rogi52 |
提出日時 | 2020-11-13 10:16:33 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 263 bytes |
コンパイル時間 | 1,688 ms |
コンパイル使用メモリ | 164,808 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-22 19:52:32 |
合計ジャッジ時間 | 2,324 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 17 |
ソースコード
#include <bits/stdc++.h> #define rep(i,n) for(int i = 0; i < (n); i++) using namespace std; typedef long long ll; int main(){ cin.tie(0); ios::sync_with_stdio(0); int A; cin >> A; if(A >= 15) cout << A - 7 << endl; else cout << -1 << endl; }