結果
| 問題 |
No.8058 M + D Problem
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-04-01 21:31:59 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 315 bytes |
| コンパイル時間 | 883 ms |
| コンパイル使用メモリ | 96,180 KB |
| 最終ジャッジ日時 | 2025-01-09 11:43:17 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 15 |
ソースコード
#include <iostream>
#include <vector>
#include <algorithm>
#include <random>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
int main(){
cin.tie(nullptr);
ios::sync_with_stdio(false);
int m,d; cin >> m >> d;
if(m==4&&d==1){
cout << 1 << endl;
return 0;
}
cout << m+d << endl;
}