結果
問題 | No.395 永遠の17歳 |
ユーザー | cewxn |
提出日時 | 2016-07-15 22:25:14 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 279 bytes |
コンパイル時間 | 395 ms |
コンパイル使用メモリ | 55,940 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-05 00:26:46 |
合計ジャッジ時間 | 925 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 17 |
ソースコード
#define _CRT_SECURE_NO_WARNINGS #include <cstdio> #include <iostream> #include <string> #include <algorithm> typedef unsigned long long ull; using namespace std; int main() { int A; cin >> A; // X+7==A // X>=8 if (A < 15)cout << -1 << endl; else cout << A - 7 << endl; }