Submission #61737
ソースコード
ステータス
項目 |
データ |
問題 |
0957 - 9月X日 |
ユーザー名 |
sth20_t-aranami
|
投稿日時 |
2020-08-05 11:06:41 |
言語 |
C |
状態 |
Compile Error |
得点 |
0
|
ソースコード長 |
160 Byte |
最大実行時間 |
-
|
最大メモリ使用量 |
|
コンパイルメッセージ
./Main.c:2:29: error: excess elements in char array initializer
const char wd[7] = { "thu", "fri", "sat", "sun", "mon", "tue", "wed" };
^~~~~
./Main.c:2:29: note: (near initialization for ‘wd’)
./Main.c:2:36: error: excess elements in char array initializer
const char wd[7] = { "thu", "fri", "sat", "sun", "mon", "tue", "wed" };
^~~~~
./Main.c:2:36: note: (near initialization for ‘wd’)
./Main.c:2:43: error: excess elements in char array initializer
const char wd[7] = { "thu", "fri", "sat", "sun", "mon", "tue", "wed" };
^~~~~
./Main.c:2:43: note: (near initialization for ‘wd’)
./Main.c:2:50: error: excess elements in char array initializer
const char wd[7] = { "thu", "fri", "sat", "sun", "mon", "tue", "wed" };
^~~~~
./Main.c:2:50: note: (near initialization for ‘wd’)
./Main.c:2:57: error: excess elements in char array initializer
const char wd[7] = { "thu", "fri", "sat", "sun", "mon", "tue", "wed" };
^~~~~
./Main.c:2:57: note: (near initialization for ‘wd’)
./Main.c:2:64: error: excess elements in char array initializer
const char wd[7] = { "thu", "fri", "sat", "sun", "mon", "tue", "wed" };
^~~~~
./Main.c:2:64: note: (near initialization for ‘wd’)
./Main.c:3:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
main() {
^~~~
セット
テストケース