fork download
  1. #include <iostream>
  2. using namespace std;
  3. string PIN;
  4. int main() {
  5. cin>>PIN;
  6.  
  7. if(PIN=="1729")
  8. {
  9. cout<<"poprawny PIN";
  10. }
  11. else
  12. {
  13. cout<<"Niepoprawny PIN";
  14. }
  15. return 0;
  16. }
Success #stdin #stdout 0.01s 5320KB
stdin
1724
stdout
Niepoprawny PIN