Cod sursa(job #1580081)

Utilizator sebigeoGeorgescu Sebastian sebigeo Data 25 ianuarie 2016 15:11:51
Problema A+B Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.19 kb

#include <iostream>
using namespace std;

int l,h,r;


int main()
{

    cin>>l>>h;
    r=h%l;
    {if(h%l==0)cout<<h/l;
    else if(r!=0) cout<<h/l;


    return 0;
}

}