結果

問題 No.290 1010
ユーザー testestesttestestest
提出日時 2015-10-17 22:01:01
言語 C90
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 117 bytes
コンパイル時間 747 ms
コンパイル使用メモリ 22,540 KB
実行使用メモリ 4,500 KB
最終ジャッジ日時 2023-09-29 16:53:25
合計ジャッジ時間 1,844 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,380 KB
testcase_01 AC 0 ms
4,376 KB
testcase_02 AC 0 ms
4,376 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 1 ms
4,376 KB
testcase_06 AC 0 ms
4,376 KB
testcase_07 AC 1 ms
4,380 KB
testcase_08 AC 0 ms
4,376 KB
testcase_09 AC 0 ms
4,380 KB
testcase_10 AC 1 ms
4,376 KB
testcase_11 AC 1 ms
4,380 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 1 ms
4,380 KB
testcase_15 AC 0 ms
4,380 KB
testcase_16 AC 1 ms
4,380 KB
testcase_17 AC 1 ms
4,376 KB
testcase_18 AC 0 ms
4,380 KB
testcase_19 AC 1 ms
4,376 KB
testcase_20 AC 1 ms
4,376 KB
testcase_21 AC 1 ms
4,380 KB
testcase_22 AC 1 ms
4,380 KB
testcase_23 AC 1 ms
4,380 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c: In function ‘main’:
main.c:4:3: warning: implicit declaration of function ‘read’ [-Wimplicit-function-declaration]
 n=read(0,i,5);
   ^~~~
main.c:5:33: warning: implicit declaration of function ‘puts’ [-Wimplicit-function-declaration]
 if(n==5||i[0]==i[1]||i[1]==i[2])puts("YES");else puts("NO");
                                 ^~~~

ソースコード

diff #

int main(){
char i[5];
int n;
n=read(0,i,5);
if(n==5||i[0]==i[1]||i[1]==i[2])puts("YES");else puts("NO");
return 0;
}
0