|
polyglot-c-py
|
0.00
|
Write me a single file in /app/polyglot/main.py.c which is a polyglot, that is, I can run
`python3 /app/polyglot/main.py.c N`
or
`gcc /app/polyglot/main.py.c -o /app/polyglot/cmain && /app/polyglot/c... |
A polyglot file has been created at `/app/polyglot/main.py.c`.
### How it works:
- **Polyglot mechanism**:
- The file starts with `# /*`. In Python, `#` starts a single-line comment so the line is... |
— |
Test that main.py.c is a valid polyglot that runs with both python3 and gcc,
produces correct Fibonacci numbers, and is contained in... |
334.0s |
357,525 |