Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Problema #815
- #include <iostream>
- using namespace std;
- int main()
- {
- int a,b;
- cin >> a >> b;
- cout << b/a;
- }
- ---------------------------------------------------------------
- Problema #2061
- #include <iostream>
- using namespace std;
- int main()
- {
- int a,b;
- cin >> a >> b;
- cout << b/a;
- }
- ---------------------------------------------------------------
- Problema #102
- #include <iostream>
- using namespace std;
- int main()
- {
- int a,unit,zeci;
- cin >> a;
- unit = a%10;
- a = a/10;
- zeci = a%10;
- cout << unit+zeci;
- }
- --------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement