結果
問題 |
No.591 (^o^)/
|
ユーザー |
![]() |
提出日時 | 2018-01-20 12:48:36 |
言語 | C90 (gcc 12.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 135 bytes |
コンパイル時間 | 90 ms |
コンパイル使用メモリ | 19,840 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-25 02:43:25 |
合計ジャッジ時間 | 612 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 7 |
コンパイルメッセージ
main.c: In function ‘main’: main.c:5:1: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 5 | scanf("%c",&s[0]); | ^~~~~~~~~~~~~~~~~ main.c:6:1: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 6 | scanf("%*c%c",&s[1]); | ^~~~~~~~~~~~~~~~~~~~
ソースコード
#include <stdio.h> int main(){ char s[2]; scanf("%c",&s[0]); scanf("%*c%c",&s[1]); printf("(%c%c%c)/\n",s[0],s[1],s[0]); return 0; }