提出 #1234432
ソースコード 拡げる
#include <stdio.h>
int main(void)
{
char s1[12], s2[12], s3[12];
int i;
scanf("%s %s %s", s1, s2, s3);
printf("%c%c%c\n", s1[0]-32, s2[0]-32, s3[0]-32);
return 0;
}
提出情報
| 提出日時 | |
|---|---|
| 問題 | A - Three-letter acronym |
| ユーザ | Lionking07 |
| 言語 | C (GCC 5.4.1) |
| 得点 | 100 |
| コード長 | 186 Byte |
| 結果 | AC |
| 実行時間 | 1 ms |
| メモリ | 128 KiB |
コンパイルエラー
./Main.c: In function ‘main’:
./Main.c:6:3: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s %s %s", s1, s2, s3);
^
ジャッジ結果
| セット名 | Sample | All | ||||
|---|---|---|---|---|---|---|
| 得点 / 配点 | 0 / 0 | 100 / 100 | ||||
| 結果 |
|
|
| セット名 | テストケース |
|---|---|
| Sample | 00-00.txt, 00-01.txt, 00-02.txt, 00-03.txt |
| All | 00-00.txt, 00-01.txt, 00-02.txt, 00-03.txt, 01-00.txt, 01-01.txt, 01-02.txt, 01-03.txt, 01-04.txt, 01-05.txt, 01-06.txt |
| ケース名 | 結果 | 実行時間 | メモリ |
|---|---|---|---|
| 00-00.txt | AC | 0 ms | 128 KiB |
| 00-01.txt | AC | 0 ms | 128 KiB |
| 00-02.txt | AC | 1 ms | 128 KiB |
| 00-03.txt | AC | 1 ms | 128 KiB |
| 01-00.txt | AC | 0 ms | 128 KiB |
| 01-01.txt | AC | 0 ms | 128 KiB |
| 01-02.txt | AC | 0 ms | 128 KiB |
| 01-03.txt | AC | 0 ms | 128 KiB |
| 01-04.txt | AC | 0 ms | 128 KiB |
| 01-05.txt | AC | 0 ms | 128 KiB |
| 01-06.txt | AC | 0 ms | 128 KiB |