Previous12345…Next Username Prob Result Time (ms) Mem (MB) Lang Submit Time mfs5 F Wrong answer on test 3 C++ 12 hr ago mfs5 F Wrong answer on test 3 C++ 13 hr ago mfs5 F Wrong answer on test 3 C++ 13 hr ago mfs5 H Accepted 46 0 C++ 16 hr ago mfs5 H Wrong answer on test 4 C++ 16 hr ago mfs5 H Wrong answer on test 4 C++ 16 hr ago mfs5 D Accepted 46 3.6 C++ 2 days ago mfs5 G Wrong answer on test 2 C++ 2 days ago mfs5 G Wrong answer on test 2 C++ 2 days ago mfs5 I Accepted 124 5.3 C++ 3 days ago mfs5 I Time limit exceeded on test 4 C++ 4 days ago mfs5 C Accepted 31 3.6 C++ 5 days ago mfs5 B Accepted 31 3.6 C++ 5 days ago mfs5 A Accepted 62 3.6 C++ 5 days ago mfs5 A Wrong answer on test 5 C++ 5 days ago All Copyright Reserved © 2010-2020 Xu Han Server Time: 2020-05-12 14:39:47 UTC-3 #25681716 | mfs5's solution for [Problem F] Status Wrong answer on test 3 Time 30ms Memory 3644kB Length 1006 Lang GNU G++14 6.4.0 Submitted 2020-05-12 02:59:49 Shared Select Code #include using namespace std; int main(){ int work; cin>>work; int price1; int price2; int price3; int time1; int time2; cin>>price1 >> price2>> price3; cin>> time1 >> time2; vector first; vectorsecond; int bep=0; int sum=0; int answer=0; int difference=0; for(int i=0; i> start >> end; first.push_back(start); second.push_back(end); } for(int i=0; i1 && i!=work-1){ answer+=time1*price1; sum+=time1; answer+=time2*price2; sum+=time2; answer+= (first[i+1]-sum)*price3; sum+=first[i+1]-sum; } } cout<