結果
| 問題 | No.1692 Expectations |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-10-01 21:27:58 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 455 bytes |
| 記録 | |
| コンパイル時間 | 972 ms |
| コンパイル使用メモリ | 102,572 KB |
| 最終ジャッジ日時 | 2025-01-24 18:58:12 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 1 |
| other | AC * 4 WA * 16 |
ソースコード
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <utility>
#include <set>
#include <map>
#include <queue>
#include <cmath>
#include <iomanip>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i=0;i < (int)(n);i++)
int main(){
int n,m;
cin >> n >> m;
if (n == 1 && m == 1){
cout << "1 1" << endl;
}
else{
cout << n << " " << 0 << endl;
}
return 0;
}