結果
| 問題 | No.8058 M + D Problem |
| コンテスト | |
| ユーザー |
shiomusubi496
|
| 提出日時 | 2020-07-25 15:29:06 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 148 bytes |
| 記録 | |
| コンパイル時間 | 1,001 ms |
| コンパイル使用メモリ | 178,488 KB |
| 実行使用メモリ | 6,144 KB |
| 最終ジャッジ日時 | 2026-03-14 16:33:46 |
| 合計ジャッジ時間 | 2,068 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 15 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
int main(){
int M,D;
cin>>M>>D;
if(M==4 && D==1)cout<<-1<<endl;
else cout<<M+D<<endl;
}
shiomusubi496