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:52Franek KortaFranek KortaScore: 5,614Success
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:525,58538,214,20215,886,0001,985,0002,269,184
2Aug 20, 2022 23:525,58840,962,94315,896,0001,987,0002,441,216
3Aug 20, 2022 23:525,59043,863,55516,895,000993,0002,531,328
4Aug 20, 2022 23:525,59744,687,19716,916,000995,0002,527,232
5Aug 20, 2022 23:525,60644,684,77716,942,000996,0002,445,312
6Aug 20, 2022 23:525,60939,735,06816,951,000997,0002,269,184
7Aug 20, 2022 23:525,61441,682,66016,967,000998,0002,531,328
8Aug 20, 2022 23:525,62147,258,41316,988,000999,0002,441,216
9Aug 20, 2022 23:525,62236,953,79615,992,0001,999,0002,445,312
10Aug 20, 2022 23:525,85890,598,15818,744,80502,203,648
11Aug 20, 2022 23:525,87775,294,17918,806,53302,195,456
12Aug 20, 2022 23:525,88388,289,22318,824,64902,203,648