結果
| 問題 |
No.138 化石のバージョン
|
| コンテスト | |
| ユーザー |
Series_205
|
| 提出日時 | 2019-10-24 21:52:34 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 318 bytes |
| コンパイル時間 | 625 ms |
| コンパイル使用メモリ | 65,692 KB |
| 最終ジャッジ日時 | 2025-01-08 00:54:35 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 WA * 11 |
ソースコード
#include <iostream>
#include <string>
using namespace std;
string s,t;
int main(){
cin>>s>>t;
for(int i=0;i<5;i++){
if(s[i]<t[i]){
cout<<"NO\n";
return 0;
}if(s[i]>t[i]){
cout<<"YES\n";
return 0;
}
}
cout<<"Yes\n";
return 0;
}
Series_205