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 21, 2021 17:08Yuriy LyfenkoYuriy LyfenkoScore: 5,674Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 21, 2021 17:085,640548,739,92118,047,00002,301,952
2Aug 21, 2021 17:085,648545,165,18218,074,00002,334,720
3Aug 21, 2021 17:085,649579,700,19118,075,92402,256,896
4Aug 21, 2021 17:085,650548,325,10418,079,00002,338,816
5Aug 21, 2021 17:085,673594,972,09318,154,20202,277,376
6Aug 21, 2021 17:085,673552,558,19518,153,00002,334,720
7Aug 21, 2021 17:085,674546,295,07616,021,0002,136,0002,334,720
8Aug 21, 2021 17:085,682541,946,43516,162,0002,020,0002,334,720
9Aug 21, 2021 17:085,696542,072,46617,154,0001,072,0002,301,952
10Aug 21, 2021 17:085,705579,139,10318,255,11202,256,896
11Aug 21, 2021 17:085,707547,935,15514,417,0003,844,0002,334,720
12Aug 21, 2021 17:085,727548,265,59516,397,0001,929,0002,293,760