結果
| 問題 |
No.71 そろばん
|
| コンテスト | |
| ユーザー |
kongarishisyamo
|
| 提出日時 | 2016-05-24 09:37:26 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 141 bytes |
| コンパイル時間 | 377 ms |
| コンパイル使用メモリ | 55,492 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-10-07 03:45:11 |
| 合計ジャッジ時間 | 1,121 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
#include<iostream>
using namespace std;
#define NMAX 50
int main(){
long long N;
cin>>N;
cout<<(N/2+1)*(N/2+(N%2==1)+1)-1<<endl;
}
kongarishisyamo