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