結果

問題 No.591 (^o^)/
ユーザー cnyanko
提出日時 2017-11-24 20:05:15
言語 C
(gcc 13.3.0)
結果
RE  
実行時間 -
コード長 134 bytes
コンパイル時間 143 ms
コンパイル使用メモリ 26,496 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-11-27 07:08:25
合計ジャッジ時間 2,143 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 3
other RE * 7
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c: In function 'main':
main.c:5:6: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
    5 |     a=getchar();
      |      ^
main.c:6:6: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
    6 |     b=getchar();
      |      ^

ソースコード

diff #

#include<stdio.h>

int main(void){
    char *a,*b;
    a=getchar();
    b=getchar();
    printf("(%s%s%s)/\n",a,b,a);

    return 0;
}
0