結果
問題 | No.591 (^o^)/ |
ユーザー |
![]() |
提出日時 | 2017-12-02 22:44:08 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 177 bytes |
コンパイル時間 | 182 ms |
コンパイル使用メモリ | 21,888 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-28 03:50:35 |
合計ジャッジ時間 | 659 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 7 |
コンパイルメッセージ
main.cpp: In function ‘int main()’: main.cpp:5:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 5 | scanf("%c%*c", &T1); | ~~~~~^~~~~~~~~~~~~~ main.cpp:6:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 6 | scanf("%c", &T2); | ~~~~~^~~~~~~~~~~
ソースコード
#include <stdio.h>int main(){char T1,T2;scanf("%c%*c", &T1);scanf("%c", &T2);printf("(%c%c%c)/\n",T1,T2,T1 );return 0;}