結果
| 問題 | No.138 化石のバージョン |
| コンテスト | |
| ユーザー |
sasa
|
| 提出日時 | 2025-03-14 09:57:18 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 280 bytes |
| 記録 | |
| コンパイル時間 | 87 ms |
| コンパイル使用メモリ | 38,144 KB |
| 実行使用メモリ | 9,280 KB |
| 最終ジャッジ日時 | 2026-07-07 02:35:45 |
| 合計ジャッジ時間 | 1,990 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 17 WA * 16 |
ソースコード
#include <stdio.h>
#include <string.h>
int main(){
char str1[10],str2[10];
scanf("%s%s",str1,str2);
int len = strlen(str1);
for(int i = 0;i < len;i++){
if(str1[i] != '.'){
if((int)str1[i] > (int)str2[i]){
printf("YES");
return 0;
}
}
}
printf("NO");
}
sasa