結果
| 問題 |
No.395 永遠の17歳
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-07-19 12:45:48 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 232 bytes |
| コンパイル時間 | 428 ms |
| コンパイル使用メモリ | 53,848 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-15 17:18:02 |
| 合計ジャッジ時間 | 1,152 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 15 WA * 2 |
ソースコード
#include <iostream>
using namespace std;
int main()
{
int in,base,base_ans=-1;
cin>>in;
for(base=2; base<100; base++){
if(in-base == 7){
base_ans = base;
break;
}
}
cout<<base_ans<<endl;
return 0;
}