Submission #00027
ソースコード
ステータス
| 項目 |
データ |
| 問題 |
0003 - キャピタリゼーション |
| ユーザー名 |
ei2331
|
| 投稿日時 |
2023-09-25 17:04:15 |
| 言語 |
C |
| 状態 |
Compile Error |
| 得点 |
0
|
| ソースコード長 |
292 Byte |
| 最大実行時間 |
-
|
| 最大メモリ使用量 |
|
コンパイルメッセージ
./Main.c: In function ‘main’:
./Main.c:4:5: error: unknown type name ‘string’; did you mean ‘stdin’?
string s;
^~~~~~
stdin
./Main.c:8:13: error: subscripted value is neither array nor pointer nor vector
if(s[i]=='j'&&s[i+1]=='o'&&s[i+2]=='i'){
^
./Main.c:8:24: error: subscripted value is neither array nor pointer nor vector
if(s[i]=='j'&&s[i+1]=='o'&&s[i+2]=='i'){
^
./Main.c:8:37: error: subscripted value is neither array nor pointer nor vector
if(s[i]=='j'&&s[i+1]=='o'&&s[i+2]=='i'){
^
./Main.c:9:14: error: subscripted value is neither array nor pointer nor vector
s[i]='J';
^
./Main.c:10:14: error: subscripted value is neither array nor pointer nor vector
s[i+1]='O';
^
./Main.c:11:14: error: subscripted value is neither array nor pointer nor vector
s[i+2]='I';
^
セット
テストケース