Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listOct 13, 2026 12:44highload-churnerhighload-churnerScore: 3,916Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 13, 2026 12:443,90121,497,92312,485,000020,480
2Oct 13, 2026 12:443,90521,483,37612,499,000020,480
3Oct 13, 2026 12:443,90522,019,80112,498,000020,480
4Oct 13, 2026 12:443,91521,418,71312,529,000020,480
5Oct 13, 2026 12:443,91621,518,18612,532,000020,480
6Oct 13, 2026 12:443,91821,500,09612,539,000020,480
7Oct 13, 2026 12:443,91821,529,61112,540,000020,480
8Oct 13, 2026 12:443,91921,526,52012,542,000020,480
9Oct 13, 2026 12:443,92221,503,24112,552,000020,480