刷oj碰到的問題1(-180913)

1.poj 1039html 在最後一步輸出的時候,我一開始選用的是:printf("%.2lf\n",res);結果是wrong answer.node 而後我改成cout<<setprecision(2)<<res<<endl;結果是wrong answer;改成cout<<fixed<<setprecision(2)<<res<<endl;結果正確.ios 而後我改成printf("%.2f
相關文章
相關標籤/搜索