結果
問題 | No.591 (^o^)/ |
ユーザー |
![]() |
提出日時 | 2017-12-05 02:51:31 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 144 bytes |
コンパイル時間 | 120 ms |
コンパイル使用メモリ | 22,016 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-28 07:21:51 |
合計ジャッジ時間 | 555 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 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\n", &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\n", &y); | ~~~~~^~~~~~~~~~~~
ソースコード
#include <stdio.h> int main() { char x; char y; scanf("%c\n", &x); scanf("%c\n", &y); printf("(%c%c%c)/\n", x, y, x); return (0); }