結果

問題 No.591 (^o^)/
ユーザー ECHO_1221
提出日時 2017-12-05 02:48:25
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 138 bytes
コンパイル時間 208 ms
コンパイル使用メモリ 21,760 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-28 07:21:50
合計ジャッジ時間 560 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 7
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:8:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    8 |         scanf("%c", &x);
      |         ~~~~~^~~~~~~~~~
main.cpp:9:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 |         scanf("%c", &y);
      |         ~~~~~^~~~~~~~~~

ソースコード

diff #

#include <stdio.h>

int main()
{
	char x;
	char y;
	
	scanf("%c", &x);
	scanf("%c", &y);
	
	printf("(%c%c%c)/", x, y, x);
	
	return (0);
}
0