|
|
вернуться в форумwa #4 #include <iostream> using namespace std; int main() { int a,b,c,d; cin>>a>>b>>c>>d; for (int i=0;a<c;i++) { a+=b; c=c-d; } cout<<a; } what's the problem??? help me please Re: wa #4 same program as me !just debug with this test data:60 100 300 1 Edited by author 10.10.2017 07:40 Re: wa #4 1. Petr offers first. 2. The driver would not ask a sum that is less than that offered by Petr |
|
|