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 29, 2025 13:43Mark R BestMark R BestScore: 10,985Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2025 13:4310,78560,686,7635,075,00029,436,0002,289,664
2Dec 29, 2025 13:4310,89567,841,7274,980,00029,885,0002,289,664
3Dec 29, 2025 13:4310,91760,713,9416,986,00027,947,0002,301,952
4Dec 29, 2025 13:4310,95258,366,5186,008,00029,039,0002,289,664
5Dec 29, 2025 13:4310,98563,406,7834,017,00031,134,0002,289,664
6Dec 29, 2025 13:4311,04456,099,9688,078,00027,264,0002,289,664
7Dec 29, 2025 13:4311,06556,782,8286,070,00029,339,0002,289,664
8Dec 29, 2025 13:4311,15466,728,1837,138,00028,555,0002,281,472
9Dec 29, 2025 13:4311,19864,945,8888,958,00026,874,0002,310,144