結果
| 問題 | No.395 永遠の17歳 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-07-02 03:49:50 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 1,000 ms |
| コード長 | 224 bytes |
| 記録 | |
| コンパイル時間 | 379 ms |
| コンパイル使用メモリ | 86,000 KB |
| 実行使用メモリ | 93,820 KB |
| 最終ジャッジ日時 | 2026-04-02 08:53:36 |
| 合計ジャッジ時間 | 1,172 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 17 |
ソースコード
#include <iostream>
#include <algorithm>
#include <vector>
#include <string>
using namespace std;
typedef long long int ll;
int main(){
int a; cin >>a;
if(a<15){
cout << -1 << endl;
}
else{
cout << a-7 << endl;
}
}