站外一本通求助

题目总版

![](https://cdn.luogu.com.cn/upload/image_hosting/5hidi57j.png)
by QAQ___awa @ 2021-04-05 10:15:11


@[ganxiyue](/user/411090) ``` printf("%.2lf",b); cout<<"%"<<endl; printf("%.2lf",c); cout<<"%"<<endl; printf("%.2lf",d); cout<<"%"<<endl; printf("%.2lf",e); cout<<"%"<<endl; ``` 问题所在,建议合并成一条
by Textbook_blasphemy @ 2021-04-05 10:26:00


咋和
by QAQ___awa @ 2021-04-05 10:28:16


不要用 `%` 用 `\%` 表示 `%`
by _Felix @ 2021-04-05 10:29:56


```cpp printf("%.2lf",b); cout<<"\%"<<endl; printf("%.2lf",c); cout<<"\%"<<endl; printf("%.2lf",d); cout<<"\%"<<endl; printf("%.2lf",e); cout<<"\%"<<endl; ``` 应该是这样吧/?
by _Felix @ 2021-04-05 10:30:31


也不行
by QAQ___awa @ 2021-04-05 10:34:08


36到60写错了吧
by Hhggi @ 2021-04-05 10:37:32


```cpp printf("%.2f%\n%.2f%\n%.2f%\n%.2f%\n", b, c, d, e); ``` 啊应该是吧
by __KrNalty__ @ 2021-04-05 10:39:08


还是不行
by QAQ___awa @ 2021-04-05 10:43:05


改了也错 建议换个思路统计,先记人数,输出时再处理
by Hhggi @ 2021-04-05 10:45:22


| 下一页