結果

問題 No.395 永遠の17歳
ユーザー KKT89
提出日時 2019-07-02 03:49:50
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 224 bytes
コンパイル時間 458 ms
コンパイル使用メモリ 67,792 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-07-18 15:01:21
合計ジャッジ時間 1,184 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 17
権限があれば一括ダウンロードができます

ソースコード

diff #

#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;
	}
}
0