結果
問題 | No.395 永遠の17歳 |
ユーザー |
|
提出日時 | 2023-07-23 13:01:12 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 25 ms / 1,000 ms |
コード長 | 230 bytes |
コンパイル時間 | 2,074 ms |
コンパイル使用メモリ | 192,308 KB |
最終ジャッジ日時 | 2025-02-15 18:29:23 |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 17 |
ソースコード
#include <bits/stdc++.h> using namespace std; using ll = long long; #define fi first #define se second int main(){ int n; cin >> n; int ans = 0; ans = (n < 15 ? -1 : n - 7); cout << ans << endl; return 0; }