question: What round has the highest Res loss, and a time of 40:00?
answer: SELECT MAX(round) FROM table_name_36 WHERE res = "loss" AND time = "40:00"
context: CREATE TABLE table_name_36 (round INTEGER, res VARCHAR, time VARCHAR)