Submission #00018


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include<stdio.h>
int main(){
char h[101],i=0;
scanf("%s",h);
while(h[i]!='\0'){
i++;
}
for(long long j=0;j<i;j++){
if(h[j]<'a'){
h[j]+='a'-'A';
}else{
h[j]-='a'-'A';
}
printf("%c",h[j]);
}
printf("\n");
return(0);
}

ステータス

項目 データ
問題 0006 - 君の名は~下剋上~
ユーザー名 DAI_0110
投稿日時 2024-05-30 16:04:26
言語 C
状態 Accepted
得点 10
ソースコード長 329 Byte
最大実行時間 20 ms
最大メモリ使用量 420 KB

セット

セット 得点 Cases
1 ALL 10 / 10 *

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
in-01.txt AC 18 ms 376 KB
1
in-02.txt AC 20 ms 272 KB
1
in-03.txt AC 14 ms 324 KB
1
in-04.txt AC 20 ms 368 KB
1
in-05.txt AC 20 ms 420 KB
1