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 10, 2026 08:01highload-churnerhighload-churnerScore: 4,071Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 10, 2026 08:024,06422,062,48813,007,000020,480
2Oct 10, 2026 08:024,06521,949,37913,008,000020,480
3Oct 10, 2026 08:024,06921,927,15813,023,000020,480
4Oct 10, 2026 08:024,07022,707,11913,026,000020,480
5Oct 10, 2026 08:024,07122,010,94513,030,000020,480
6Oct 10, 2026 08:024,07521,989,17113,040,000020,480
7Oct 10, 2026 08:024,07921,946,40213,053,000020,480
8Oct 10, 2026 08:024,08321,968,97013,068,000020,480
9Oct 10, 2026 08:024,11722,089,17913,175,000020,480