fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. double a, b, s ;
  6. cin >> a >> b >> s ;
  7. if (a > s || b > s) {
  8. cout << "TAK";
  9. }
  10. else{
  11. cout << "NIE";
  12. }
  13. return 0;
  14. }
Success #stdin #stdout 0s 5288KB
stdin
1 2 2.3
stdout
NIE