fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. enum ETraceReturnValue
  5. {
  6. TRV_NoHit = 0, // Returned when no hits occured in the trace
  7. TRV_Hit = 1, // Returned when we recorded a hit in the trace. Number of hits passed in
  8. // the parameter for traces with multiple results
  9. TRV_ProcessedWhileFetch = 0, // Returned when trace wasn't processed because scene was processing
  10. TRV_BufferOverflow = 1, // Returned when we recorded hits but trace didn't fully complete cos of hit buffer overflow
  11. TRV_InvalidTransform = 0 // Returned when the transform for a geometry test is invalid
  12. };
  13.  
  14. int main() {
  15. // your code goes here
  16.  
  17. if( TRV_InvalidTransform )
  18. {
  19. return -1;
  20. }
  21.  
  22. return 0;
  23. }
Success #stdin #stdout 0s 3092KB
stdin
Standard input is empty
stdout
Standard output is empty