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.  
  12.  
  13. }
  14. else
  15. {
  16. cout<<"niepoprawny PIN";
  17. }
  18. return 0;
  19. }
Success #stdin #stdout 0s 5316KB
stdin
5555
stdout
niepoprawny PIN