結果
| 問題 |
No.2450 99-like Number
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-12-15 00:50:40 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 175 bytes |
| コンパイル時間 | 726 ms |
| コンパイル使用メモリ | 26,880 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-27 05:52:19 |
| 合計ジャッジ時間 | 1,365 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 13 WA * 5 |
ソースコード
#include <stdio.h>
int main(void){
int i;
char N[101];
scanf("%s",N);
for(i=101;N[i];i--){
}
if (N[i-1]=='9'&&N[i-2]=='9'){
printf("Yes");
}else{
printf("No");
}
}