import resource

resource.setrlimit(resource.RLIMIT_CPU, (0, 1))

# pretend we're busy
for i in range(1000):
    for j in range(1000):
        for k in range(1000):
            pass

## CPU time limit exceeded

a0b6fbaf817e001411d77a1af6ac0ea4e56cb3ea
<mask token>

<mask token>
resource.setrlimit(resource.RLIMIT_CPU, (0, 1))
for i in range(1000):
    for j in range(1000):
        for k in range(1000):
            pass

import resource
resource.setrlimit(resource.RLIMIT_CPU, (0, 1))
for i in range(1000):
    for j in range(1000):
        for k in range(1000):
            pass

import resource

resource.setrlimit(resource.RLIMIT_CPU, (0, 1))

# pretend we're busy
for i in range(1000):
    for j in range(1000):
        for k in range(1000):
            pass

## CPU time limit exceeded
