結果
| 問題 |
No.395 永遠の17歳
|
| コンテスト | |
| ユーザー |
nninjinn00
|
| 提出日時 | 2017-01-27 20:58:03 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 142 bytes |
| コンパイル時間 | 358 ms |
| コンパイル使用メモリ | 55,092 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-12-23 15:52:43 |
| 合計ジャッジ時間 | 949 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 15 WA * 2 |
ソースコード
#include <iostream>
using namespace std;
int main() {
int x;
cin >> x;
if (x < 17)
cout << -1 << endl;
else
cout << x - 7 << endl;
}
nninjinn00