Test case not passing for the transportation problem | Sololearn: Learn to code for FREE!

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

c++

4/26/2021 9:43:05 AM

Pankaj Rajani

2 Answers

New Answer

+2

Hope this helps you

+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; }