結果

問題 No.446 ゆきこーだーの雨と雪 (1)
ユーザー teketeke5000
提出日時 2017-09-05 10:12:08
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 267 bytes
コンパイル時間 1,345 ms
コンパイル使用メモリ 159,992 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-06 22:14:41
合計ジャッジ時間 1,935 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 11 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;

int main(void) {
    string a,b;
    cin >> a;
    cin >> b;
    if (a == to_string(stoi('0'+a)) && b == to_string(stoi('0'+b))) cout << "OK" << endl;
    else cout << "NG" << endl;
    return 0;
}
0