Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 109. #include <iostream>
- using namespace std;
- int main(){
- int n;
- cin>>n;
- if(n%2==0)
- cout<<n<<" este par";
- else
- cout<<n<<" este impar";
- return 0;
- }
- 105.
- #include <iostream>
- using namespace std;
- int main()
- {
- int a,b;
- cin>>a;
- cin>>b;
- if(a>b)
- cout<<a;
- else
- cout<<b;
- return 0;
- }
- 816.
- #include <iostream>
- using namespace std;
- int main()
- {
- int x, y;
- cin >> x >> y;
- cout << ((y % x) ? (y / x + 1) : (y / x));
- }
- 832. #include <iostream>
- using namespace std;
- int main()
- {
- int n;
- cin>>n;
- if(n<5) cout<<"corigent";
- else cout<<"promovat";
- }
- 1362.
- #include <iostream>
- #include <cmath>
- using namespace std;
- int main ()
- {
- int n,i;
- cin>>n;
- cout<<1;
- for(i=1;i<=n;i++)
- cout<<0;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement