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 listAug 20, 2022 23:14Franek KortaFranek KortaScore: 5,338Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 20, 2022 23:145,30538,761,42015,978,000998,0002,441,216
2Aug 20, 2022 23:145,30631,873,42513,984,0002,996,0002,531,328
3Aug 20, 2022 23:145,31738,784,11116,014,0001,000,0002,527,232
4Aug 20, 2022 23:145,32337,899,66316,031,0001,001,0002,531,328
5Aug 20, 2022 23:145,32938,996,71416,050,0001,003,0002,445,312
6Aug 20, 2022 23:145,33338,044,14816,062,0001,003,0002,527,232
7Aug 20, 2022 23:145,33834,973,99016,079,0001,004,0002,531,328
8Aug 20, 2022 23:145,35339,448,31314,106,0003,022,0002,531,328
9Aug 20, 2022 23:145,35640,881,84315,123,0002,016,0002,535,424
10Aug 20, 2022 23:145,55875,262,50417,785,58502,207,744
11Aug 20, 2022 23:145,57378,672,95817,833,21802,207,744
12Aug 20, 2022 23:145,59777,976,46517,910,74402,203,648