結果
| 問題 | No.290 1010 |
| コンテスト | |
| ユーザー |
testestest
|
| 提出日時 | 2015-10-17 22:13:15 |
| 言語 | C90 (gcc 12.4.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 143 bytes |
| 記録 | |
| コンパイル時間 | 147 ms |
| コンパイル使用メモリ | 28,612 KB |
| 最終ジャッジ日時 | 2026-02-23 19:33:15 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 24 |
コンパイルメッセージ
/usr/bin/ld: /tmp/ccT7kM6a.o: in function `main': main.c:(.text.startup+0x1b): 警告: the `gets' function is dangerous and should not be used.
ソースコード
char s[4];
int main(){
int i=0;
for(gets(s);i<4;i++)s[i]=getchar();
if(s[3]>10||s[0]==s[1]||s[1]==s[2])puts("YES");else puts("NO");
return 0;
}
testestest