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 listSep 6, 2024 08:51Joseph KuoJoseph KuoScore: 2,733,130Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 6, 2024 08:512,732,5338,777,059,6608,716,122,00027,984,0002,293,760
2Sep 6, 2024 08:512,732,5978,772,510,4698,718,328,00025,983,0002,293,760
3Sep 6, 2024 08:512,732,7588,776,700,6518,709,837,00034,987,0002,281,472
4Sep 6, 2024 08:512,732,7908,771,555,1868,711,947,00032,980,0002,281,472
5Sep 6, 2024 08:512,733,1308,780,632,0148,713,034,00032,981,0002,289,664
6Sep 6, 2024 08:512,738,7488,792,040,4388,723,007,00040,985,0002,523,136
7Sep 6, 2024 08:512,746,8988,820,914,0908,760,086,00029,986,0002,289,664
8Sep 6, 2024 08:512,751,4818,835,292,0978,764,755,00039,985,0002,281,472
9Sep 6, 2024 08:512,859,1539,185,744,2039,112,312,00036,976,0002,265,088