結果
問題 | No.1342 Calculation |
ユーザー | hayaten |
提出日時 | 2021-01-16 13:03:01 |
言語 | C++17 (gcc 12.3.0 + boost 1.83.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 519 bytes |
コンパイル時間 | 1,729 ms |
コンパイル使用メモリ | 198,192 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-05-05 14:49:46 |
合計ジャッジ時間 | 2,046 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ソースコード
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); i++) #define rrep(i, n) for (int i = (n - 1); i >= 0; i--) #define ALL(v) v.begin(), v.end() using namespace std; using P = pair<int, int>; typedef long long ll; template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return 1; } return 0; } template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return 1; } return 0; } const int dx[4] = {1, 0, -1, 0}; const int dy[4] = {0, 1, 0, -1}; int main() { cout << 79 << endl; }