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:32HattonuriHattonuriScore: 6,159Success
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:326,13340,359,47518,592,0001,032,0002,445,312
2Dec 28, 2025 19:326,13738,732,01618,605,0001,033,0002,437,120
3Dec 28, 2025 19:326,14044,415,82618,613,0001,034,0002,273,280
4Dec 28, 2025 19:326,15836,775,92618,668,0001,037,0002,535,424
5Dec 28, 2025 19:326,15951,647,58518,673,0001,037,0002,437,120
6Dec 28, 2025 19:326,20148,570,26818,850,000992,0002,437,120
7Dec 28, 2025 19:326,21446,208,07418,892,000994,0002,535,424
8Dec 28, 2025 19:326,21447,813,74517,898,0001,988,0002,445,312
9Dec 28, 2025 19:326,21549,890,02817,900,0001,988,0002,441,216