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 14, 2026 02:26Karthik ReddyKarthik ReddyScore: 3,930Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 14, 2026 02:273,9036,021,690,60612,491,000020,480
2Oct 14, 2026 02:273,9196,021,810,68012,541,000020,480
3Oct 14, 2026 02:273,9216,021,736,34812,549,000020,480
4Oct 14, 2026 02:273,9246,021,698,21912,557,000020,480
5Oct 14, 2026 02:273,9306,021,866,03212,578,000020,480
6Oct 14, 2026 02:273,9326,022,350,54812,585,000020,480
7Oct 14, 2026 02:273,9346,023,168,41112,589,000020,480
8Oct 14, 2026 02:273,9386,021,710,37612,604,000020,480
9Oct 14, 2026 02:273,9406,021,668,60112,611,000020,480