题目是我出的,数据是我配的,数据验算是对的,代码是一样的,WA是一片的。。。
#include<bits/stdc++.h> using namespace std; int main(){ double a,b; cin>>a>>b; printf("%.1f",a/2+b-1); }