結果
| 問題 |
No.395 永遠の17歳
|
| コンテスト | |
| ユーザー |
chacoder1
|
| 提出日時 | 2021-02-14 10:47:07 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 219 bytes |
| コンパイル時間 | 2,528 ms |
| コンパイル使用メモリ | 190,784 KB |
| 最終ジャッジ日時 | 2025-01-18 20:17:04 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 15 WA * 2 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i,n) for(int i=0;i<n;i++)
int main(){
int a;
cin>>a;
if(a<8){
cout<<-1<<endl;
return 0;
}
cout<<a-7<<endl;
return 0;
}
chacoder1