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 8, 2026 21:00Karthik ReddyKarthik ReddyScore: 3,928Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 8, 2026 21:013,9196,021,675,47412,542,000020,480
2Oct 8, 2026 21:013,9216,021,814,69512,548,000020,480
3Oct 8, 2026 21:013,9226,021,750,94012,553,000020,480
4Oct 8, 2026 21:013,9246,021,768,01612,557,000020,480
5Oct 8, 2026 21:013,9286,021,858,87512,570,000020,480
6Oct 8, 2026 21:013,9456,021,986,64312,624,000020,480
7Oct 8, 2026 21:013,9566,021,779,18312,661,000020,480
8Oct 8, 2026 21:013,9576,021,860,83412,663,000020,480
9Oct 8, 2026 21:013,9876,023,744,92612,759,000020,480