fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. cout << ((int32_t)-10 < (uint32_t)10) << endl;
  6. cout << ((int16_t)-10 < (uint32_t)10) << endl;
  7. cout << ((int32_t)-10 < (uint16_t)10) << endl;
  8. return 0;
  9. }
Success #stdin #stdout 0s 4516KB
stdin
Standard input is empty
stdout
0
0
1