package com.thinker.bishi.saima; import java.util.Scanner; /** * @author lzh *
* http://exercise.acmcoder.com/online/online_judge_ques?ques_id=1677&konwledgeId=134 *
* */ public class YueDeEr { public static void main(String[] args) { Scanner in = new Scanner(System.in); String firstLine = in.nextLine(); String secondLine = in.nextLine(); firstLine = change(firstLine); System.out.printf("%.2f%%",check(firstLine.toCharArray(),secondLine.toCharArray())); } private static double check(char[] firstLine,char[] secondLine){ double result = firstLine.length; int count = 0; for(int i=0;i