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