結果
| 問題 |
No.395 永遠の17歳
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-07-30 18:17:21 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 1,000 ms |
| コード長 | 196 bytes |
| コンパイル時間 | 2,050 ms |
| コンパイル使用メモリ | 191,424 KB |
| 最終ジャッジ日時 | 2025-01-07 10:07:50 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 17 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
int n;
cin >> n;
n -= 7;
if (n >= 8) cout << n;
else cout << -1;
puts("");
return 0;
}