結果
| 問題 | No.1491 銀将 |
| コンテスト | |
| ユーザー |
magsta
|
| 提出日時 | 2021-05-01 19:17:22 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 263 bytes |
| 記録 | |
| コンパイル時間 | 719 ms |
| コンパイル使用メモリ | 96,172 KB |
| 実行使用メモリ | 104,144 KB |
| 最終ジャッジ日時 | 2026-04-02 19:50:34 |
| 合計ジャッジ時間 | 997 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 16 |
ソースコード
#include <iostream>
#include <string>
#include <algorithm>
#include <utility>
#include <cmath>
#include <cstdlib>
#include <map>
#include <set>
#include <queue>
#include <vector>
using namespace std;
int main() {
long long K; cin >> K;
cout << 4 * K * K + 2;
}
magsta