北京师范大学珠海分校
Judge Online of ACM ICPC
1074 小试牛刀
C语言版
Judge Online of ACM ICPC
1074 小试牛刀
C语言版
- #include <stdio.h>
- int main(){
- char x;
- scanf("%c",&x);
- while(x!='#'){
- switch(x){
- case 'B':
- case 'b':
- case 'N':
- case 'n':
- case 'U':
- case 'u':
- case 'E':
- case 'e':
- case 'P':
- case 'p':break;
- default:printf("%c",x);break;
- }
- scanf("%c",&x);
- }
- return 0;
- }