結果
| 問題 | No.80 四角形を描こう |
| コンテスト | |
| ユーザー |
tetsuzuki1115
|
| 提出日時 | 2017-09-28 03:11:37 |
| 言語 | C++11 (gcc 15.3.0 + boost 1.92.0) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 5,000 ms |
| + 378µs | |
| コード長 | 419 bytes |
| 記録 | |
| コンパイル時間 | 388 ms |
| コンパイル使用メモリ | 98,148 KB |
| 実行使用メモリ | 9,824 KB |
| 最終ジャッジ日時 | 2026-09-23 10:45:16 |
| 合計ジャッジ時間 | 2,069 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 8 |
ソースコード
#include <iostream>
#include <vector>
#include <string>
#include <cstring>
#include <math.h>
#include <cmath>
#include <limits.h>
#include <map>
#include <set>
#include <queue>
#include <algorithm>
#include <functional>
#include <stdio.h>
using namespace std;
long long MOD = 1000000007;
int main() {
int D;
cin >> D;
cout << ( D/4 ) * ((D/4) + ((D%4)/2)) << endl;
return 0;
}
tetsuzuki1115