結果
問題 |
No.446 ゆきこーだーの雨と雪 (1)
|
ユーザー |
👑 |
提出日時 | 2020-01-12 02:39:45 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 276 bytes |
コンパイル時間 | 477 ms |
コンパイル使用メモリ | 65,280 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-27 06:28:21 |
合計ジャッジ時間 | 1,872 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 RE * 1 |
other | AC * 10 RE * 3 |
ソースコード
#include <iostream> using namespace std; int main(){ string a,b;cin>>a>>b; int A = stoi(a); int B = stoi(b); if(to_string(A) == a && to_string(B) == b && A <= 12345 && B <= 12345){ cout << "OK" << endl; }else{ cout << "NG" << endl; } }