結果
| 問題 |
No.292 芸名
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-07-02 14:22:13 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 187 bytes |
| コンパイル時間 | 368 ms |
| コンパイル使用メモリ | 27,648 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-15 00:55:54 |
| 合計ジャッジ時間 | 1,022 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge6 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 |
ソースコード
#include<stdio.h>
int main(){
char s[50]; int a,b;
scanf("%s %d %d",s,&a,&b);
s[a]=s[b]='0';
for(int i=0;s[i]!='\0';++i)if(s[i]!='0')printf("%c",s[i]);
printf("\n");
}