結果
| 問題 |
No.446 ゆきこーだーの雨と雪 (1)
|
| ユーザー |
Ronlynes
|
| 提出日時 | 2017-01-24 23:26:58 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 266 bytes |
| コンパイル時間 | 524 ms |
| コンパイル使用メモリ | 54,100 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-12-23 08:04:11 |
| 合計ジャッジ時間 | 1,227 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 3 |
| other | AC * 5 WA * 8 |
ソースコード
#include<iostream>
#include<string>
using namespace std;
int main(){
char a, b;
cin >> a;
cin >> b;
int a2 = (int)a;
int b2 = (int)b;
if(a2 >=0 && a2 <= 12345 && 0 <= b2 && b2 <= 12345){
cout << "OK" << endl;
}else{
cout << "NG" << endl;
}
return 0;
}
Ronlynes