結果
| 問題 |
No.395 永遠の17歳
|
| コンテスト | |
| ユーザー |
Yut176
|
| 提出日時 | 2016-07-15 22:35:08 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 230 bytes |
| コンパイル時間 | 497 ms |
| コンパイル使用メモリ | 63,020 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-15 04:31:29 |
| 合計ジャッジ時間 | 1,166 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 15 WA * 2 |
ソースコード
#include <iostream>
#include <stdio.h>
#include <math.h>
#include <vector>
#include <algorithm>
using namespace std;
int main(){
int a;
cin >> a;
a -= 7;
if(a <= 0) cout << -1 << endl;
else cout << a << endl;
return 0;
}
Yut176