結果
| 問題 | No.395 永遠の17歳 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-09-19 14:12:47 |
| 言語 | C++17 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 1,000 ms |
| + 398µs | |
| コード長 | 217 bytes |
| 記録 | |
| コンパイル時間 | 1,092 ms |
| コンパイル使用メモリ | 208,212 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-10-11 16:43:36 |
| 合計ジャッジ時間 | 2,264 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 18 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int N;
void input() { cin >> N; }
void solve() { cout << (N < 15 ? -1 : N - 7) << endl; }
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
input();
solve();
}