什么鬼!这叫入门题!

P2433 【深基1-2】小学数学 N 合一

W_churchill @ 2020-05-08 19:33:07

else if (T == 8) 
    {
        cout<<5*2*3.141593<<" ";             
        cout<<5*5*3.141593<<" ";
        cout<<1.0*double(4/3)*3.141593*125.0<<" ";
        return 0;
} 
else if (T == 13) 
{
        int sum=4*4*4*3.141593;
        sum+=10*10*10*3.141593;
        cout<<prime(sum)<<endl;
        return 0;
} 

为什么T8和T13一直过不了啊???
小学生的我太菜了


by Loser_King @ 2020-05-08 19:57:21

@Qinclude 输出后endl


by Loser_King @ 2020-05-08 19:57:51

宇宙机密草


by W_churchill @ 2020-05-08 19:58:41

啊啊啊


by W_churchill @ 2020-05-08 19:58:50

我终于AC了


by W_churchill @ 2020-05-08 19:58:57

@TLE_er__psz 谢谢


by W_churchill @ 2020-05-08 19:59:18

@tangrunxi 谢谢


by W_churchill @ 2020-05-08 19:59:29

@江户川·萝卜 谢谢


by W_churchill @ 2020-05-08 20:00:39

就是为什么T8样例输出为

31.4159 78.5398 523.599 啊,明明是错了啊


by W_churchill @ 2020-05-08 20:00:53

真是怪事


by W_churchill @ 2020-05-08 20:02:13

@chen_zhe 请问能修改一下样例输出的数据吗?


上一页 | 下一页