結果
問題 | No.111 あばばばば |
ユーザー |
![]() |
提出日時 | 2014-12-13 04:09:18 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 262 bytes |
コンパイル時間 | 630 ms |
コンパイル使用メモリ | 55,504 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-11 21:03:22 |
合計ジャッジ時間 | 1,087 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 |
ソースコード
#include <iostream> #include "assert.h" using namespace std; #define L_MIN 3 #define L_MAX 1000000000 int main(){ long long L; cin >> L; assert(L_MIN <= L); assert(L < L_MAX); assert(L%2 == 1); L = (L-1)/2; cout << L*L << endl; }