結果
| 問題 |
No.591 (^o^)/
|
| コンテスト | |
| ユーザー |
じゃがりこ
|
| 提出日時 | 2018-08-10 20:19:30 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 145 bytes |
| コンパイル時間 | 192 ms |
| コンパイル使用メモリ | 22,016 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-09-23 05:53:19 |
| 合計ジャッジ時間 | 628 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 |
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:6:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
6 | scanf("%s", T1);
| ~~~~~^~~~~~~~~~
main.cpp:7:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
7 | scanf("%s", T2);
| ~~~~~^~~~~~~~~~
ソースコード
#include <stdio.h>
int main(){
char T1[2], T2[2];
scanf("%s", T1);
scanf("%s", T2);
printf("(%c%c%c)/", T1[0], T2[0], T1[0]);
}
じゃがりこ