fork download
  1. #include <cstdio>
  2.  
  3. auto main() -> int
  4. {
  5. double const a = 13.5;
  6. double const b = 13.3;
  7. double const c = 0.2;
  8.  
  9. if ( a >= (b + c) ) {
  10. double diff = a - b - c;
  11. if ( diff < 0 ) {
  12. std::printf("kuso過ぎる\n");
  13. }
  14. else {
  15. std::printf("Okay\n");
  16. }
  17. }
  18. }
Success #stdin #stdout 0s 3296KB
stdin
Standard input is empty
stdout
kuso過ぎる