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 listMay 29, 2021 08:28Dmitry DolgopolovDmitry DolgopolovScore: 4,982Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 08:284,95640,860,17613,878,0001,982,0002,445,312
2May 29, 2021 08:284,96143,123,54313,891,0001,984,0002,445,312
3May 29, 2021 08:284,96433,193,40913,900,0001,985,0002,273,280
4May 29, 2021 08:284,96643,740,98613,904,0001,986,0002,273,280
5May 29, 2021 08:284,96831,488,68113,912,0001,987,0002,449,408
6May 29, 2021 08:284,97734,867,26413,935,0001,990,0002,535,424
7May 29, 2021 08:284,98235,782,70513,949,0001,992,0002,535,424
8May 29, 2021 08:284,99340,810,65813,981,0001,997,0002,449,408
9May 29, 2021 08:285,00038,480,21814,933,0001,066,0002,449,408
10May 29, 2021 08:285,20762,681,08716,661,02902,211,840
11May 29, 2021 08:285,24139,071,80716,770,15202,203,648
12May 29, 2021 08:285,24664,488,40316,788,65702,199,552