結果
問題 |
No.2691 Longest Infection Sequence
|
ユーザー |
|
提出日時 | 2024-05-31 21:17:16 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 19 ms / 2,000 ms |
コード長 | 321 bytes |
コンパイル時間 | 2,054 ms |
コンパイル使用メモリ | 192,224 KB |
最終ジャッジ日時 | 2025-02-21 17:22:22 |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 14 |
ソースコード
#include<bits/stdc++.h> #define pt printf(">>>") #define mid (((l)+(r))/2) using namespace std; typedef long long ll; typedef long double ld; const ll N=1e6+10,inf=1e18+10,mod=1e9+7; const ll dir[4][2]={{1,0},{-1,0},{0,1},{0,-1}}; int main(){ ll a,b,o,w; cin >> a >> b >> o >> w; cout << a+b+o+w-min(a,b); return 0; }