呜哇树形图设计者什么的太弱了!

明明自己测试过很多遍了递交上去还是报WR....
所以**1+4=9 3+8=99 64+98=999** 有哪里不对吗QAQ
###代码:
import java.io.*;
import java.util.*;
public class Main
{
public static void main(String[] args) throws Exception
{
Scanner s = new Scanner(System.in);
int a = s.nextInt();
int b = s.nextInt();
int c = a+b;
String d =Integer.toString(c);
c=d.length();
d="";
for (int e=0;e!=c;e++)
{
d=d+"9";
}
}
}

7 条评论

  • 1

信息

ID
1000
难度
9
分类
(无)
标签
(无)
递交数
73496
已通过
28188
通过率
38%
被复制
200