0

Test case not passing for the transportation problem

Here is the code https://code.sololearn.com/cw0nm7kmnhnT/?ref=app Please help if i am doing any mistake

26th Apr 2021, 9:43 AM
Pankaj Rajani
Pankaj Rajani - avatar
2 ответов
+ 2
Hope this helps you
26th Apr 2021, 10:33 AM
Atul [Inactive]
+ 1
#include <iostream> using namespace std; int main() { //your code goes here int total,size=50; cin>>total; int remaining=total%size; int next=size-remaining; cout<<next; return 0; }
26th Apr 2021, 10:33 AM
Atul [Inactive]