兄主的仙人掌 发表于 2018-7-8 14:59 原来是这样:
|
唉,用Python就正确了。为什么?
|
Smallbee 发表于 2018-6-19 16:21 那54%的人是怎么做到的 |
我也错了 =================/test_1.out Right: 64 ----------------- Your: 44 ############################################################################### =================/test_2.out Right: 4078 ----------------- Your: 2500 ############################################################################### Source: ? 1 2 3 4 5 6 7 8 9 10 11 12 #include <stdio.h> #include <stdlib.h> int main() { float r,d,s,c; scanf("%f",&r); d=2*r; s=3.14159*r*r; c=2*3.14159*r; printf("%.4f %.4f %.4f",d,c,s); return 0; } |
用啊哈C试了没毛病 你改成double试试 |