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 listDec 28, 2025 19:24HattonuriHattonuriScore: 7,540Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 28, 2025 19:247,40551,511,53122,667,0001,030,0002,441,216
2Dec 28, 2025 19:247,49850,076,94121,996,0001,999,0002,535,424
3Dec 28, 2025 19:247,50545,139,52722,015,0002,001,0002,535,424
4Dec 28, 2025 19:247,51344,864,67822,038,0002,003,0002,449,408
5Dec 28, 2025 19:247,54052,121,02522,117,0002,010,0002,535,424
6Dec 28, 2025 19:247,54346,603,57122,127,0002,011,0002,531,328
7Dec 28, 2025 19:247,57259,800,19922,212,0002,019,0002,535,424
8Dec 28, 2025 19:247,62839,322,64423,391,0001,017,0002,535,424
9Dec 28, 2025 19:247,63746,409,54223,421,0001,018,0002,437,120