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 listApr 15, 2025 02:14BenBenScore: 5,332Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 15, 2025 02:155,30641,377,61815,982,000998,0002,392,064
2Apr 15, 2025 02:145,30841,771,61814,987,0001,998,0002,523,136
3Apr 15, 2025 02:155,30845,083,29214,988,0001,998,0002,510,848
4Apr 15, 2025 02:145,31432,002,62816,004,0001,000,0002,392,064
5Apr 15, 2025 02:145,33234,596,95715,055,0002,007,0002,523,136
6Apr 15, 2025 02:145,33344,635,91316,063,0001,003,0002,375,680
7Apr 15, 2025 02:145,33634,145,65417,076,00002,260,992
8Apr 15, 2025 02:145,33836,764,17115,072,0002,009,0002,392,064
9Apr 15, 2025 02:155,34243,980,79316,090,0001,005,0002,523,136