結果

問題 No.543 命題
ユーザー suppy193suppy193
提出日時 2020-03-20 14:33:34
言語 C90
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 134 bytes
コンパイル時間 150 ms
コンパイル使用メモリ 19,968 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-05-08 03:58:13
合計ジャッジ時間 470 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c: In function ‘main’:
main.c:6:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    6 |     scanf("%c %c", &p1, &p2);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~

ソースコード

diff #

#include <stdio.h>

int main(void)
{
    char p1, p2;
    scanf("%c %c", &p1, &p2);
    printf("%c%c\n", p2, p1);
    
    return 0;
}
0