結果

問題 No.516 赤と青の風船
ユーザー u-shou-sho
提出日時 2017-05-28 21:26:28
言語 C
(gcc 12.3.0)
結果
WA  
実行時間 -
コード長 230 bytes
コンパイル時間 136 ms
コンパイル使用メモリ 27,936 KB
実行使用メモリ 4,348 KB
最終ジャッジ日時 2023-10-21 14:02:30
合計ジャッジ時間 667 ms
ジャッジサーバーID
(参考情報)
judge15 / judge10
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,348 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 1 ms
4,348 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 1 ms
4,348 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<stdio.h>
int main(){
    char s[3][4];
    for(int i=0;i<3;i++){
        scanf("%s",s[i]);
    }
    if(s[0]==s[1] || s[0]==s[2]){
        printf("%s\n",s[0]);
    }else{
        printf("%s\n",s[1]);
    }
    return 0;
}
0