結果
問題 | No.395 永遠の17歳 |
ユーザー |
|
提出日時 | 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 |
ソースコード
#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; } }