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. if ( a <= s && b <= s){
  12. cout << "TAK";
  13. }
  14. else{
  15. cout << "NIE";
  16. }
  17. }
  18.  
  19. return 0;
  20. }
Success #stdin #stdout 0s 5280KB
stdin
1 2 2.3
stdout
TAK