Photographing finished competitive programming work is awkward, because the work is either text on a screen or handwriting in a notebook. Both are easy to photograph badly: the screen glares and the handwriting looks grey and flat. Four adjustments, all cheap, will make the result look like the thing you were proud of rather than a snapshot taken in a hurry.
Kill the glare before moving the camera
Screens reflect whatever is behind you. Turn off the overhead light, close the curtains behind the camera, and let a lamp illuminate the screen from the side rather than facing it. Raise the screen brightness a little, but not to maximum, and open a dark editor theme so the text separates cleanly from the background.
If a reflection persists, change your position rather than your settings. Moving thirty centimetres sideways often removes it completely.
Photograph paper straight down
Put the notebook on a flat surface and hold the camera parallel to the page. Most phone camera apps show a grid; use it to keep the page edges square to the frame. Fill the frame with the page and leave a small margin, since cropping later is easy and adding missing content is not.
- Use indirect daylight or a single lamp from one side to reveal the paper texture.
- Add a pen or a corner of the laptop for scale, but keep it out of the writing.
- Photograph before erasing, and write the final answer in darker ink if you can.
Choose the framing that tells the story
Three framings cover most needs. A tight crop on one solution shows craft and detail. A wider desk shot shows the workspace, which readers find more inviting. A sequence of two or three pages shows a derivation from start to finish, which is the most useful version for anyone trying to learn from you.
For screen work, include a little context: the problem title and the accepted verdict make the image self-explanatory. Avoid capturing personal account details, and prefer a clean browser window over a crowded desktop.
Edit lightly and consistently
Crop to the content, straighten the frame, and lift the contrast slightly so pencil marks read as grey rather than invisible. Resist heavy filters; a warm tone on a notebook page looks like a mistake rather than a style. If you photograph several pages, apply the same treatment to each so they look like a set.
Check the image at full size before posting. Text that looks sharp on a small preview is often soft when enlarged, and soft text is the one flaw viewers notice immediately.
Frequently asked
Do I need a camera rather than a phone?
Not for this. A modern phone with a clean lens and a steady hand is enough for pages and screens. Consistency of light and framing matters much more than the sensor.
Should I show code that failed?
Only when the failure is the point. A rejected submission with a short note about the bug can be genuinely useful, but it needs a caption explaining what you learned.
Clean light, a square frame, and a little context are all it takes. Photograph your best pages as you finish them, and you will end up with a record of progress that no screenshot folder can match.