| Problem | fibo |
|---|---|
| User | estkn |
| Submission Time | 2026-04-15 11:00:27 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
fibo.cpp:4:3: error: invalid preprocessing directive #Configure
4 | # Configure the IR receiver pin
| ^~~~~~~~~
fibo.cpp:9:3: error: invalid preprocessing directive #Key
9 | # Key function: reads one pulse length
| ^~~
fibo.cpp:11:7: error: invalid preprocessing directive #Waits
11 | # Waits for the pin to be at 'trigger_level', then times how long it stays
| ^~~~~
fibo.cpp:13:11: error: invalid preprocessing directive #timeout
13 | # timeout of 26ms is longer than the longest NEC pulse
| ^~~~~~~
fibo.cpp:23:7: error: invalid preprocessing directive #Constrain
23 | # Constrain speed to a range of -100 to 100
| ^~~~~~~~~
fibo.cpp:26:7: error: invalid preprocessing directive #Map
26 | # Map speed to duty cycle values.
| ^~~
fibo.cpp:27:49: error: stray ‘#’ in program
27 | duty = int(77 + (speed / 100) * (115 - 77)) # F