結果
| 問題 | No.446 ゆきこーだーの雨と雪 (1) |
| コンテスト | |
| ユーザー |
HeyHey0111
|
| 提出日時 | 2016-11-18 23:48:15 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 325 bytes |
| 記録 | |
| コンパイル時間 | 542 ms |
| コンパイル使用メモリ | 63,104 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-26 08:49:45 |
| 合計ジャッジ時間 | 1,109 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 WA * 1 |
| other | AC * 9 WA * 4 |
ソースコード
#include<iostream>
#include <string>
#include <stdlib.h>
using namespace std;
int main(){
string s1,s2;
cin >> s1 >> s2;
char * endpos1,*endpos2;
strtoll(s1.c_str(),&endpos1,10);
strtoll(s2.c_str(),&endpos2,10);
if(*endpos1!= '\0' || *endpos2!='\0'){
cout <<"NG"<<endl;
}else{
cout <<"OK"<<endl;
}
}
HeyHey0111