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,367Success
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,32942,951,55215,046,0002,006,0002,437,120
2Aug 20, 2022 23:145,33036,859,64716,054,0001,003,0002,269,184
3Aug 20, 2022 23:145,33234,221,12416,059,0001,003,0002,269,184
4Aug 20, 2022 23:145,33641,169,89716,071,0001,004,0002,433,024
5Aug 20, 2022 23:145,34442,600,08115,089,0002,011,0002,531,328
6Aug 20, 2022 23:145,35440,095,78415,119,0002,015,0002,449,408
7Aug 20, 2022 23:145,36732,339,11116,164,0001,010,0002,441,216
8Aug 20, 2022 23:145,37345,536,55316,181,0001,011,0002,260,992
9Aug 20, 2022 23:145,38030,634,19716,203,0001,012,0002,269,184
10Aug 20, 2022 23:145,58778,254,10817,877,24502,203,648
11Aug 20, 2022 23:145,59867,147,97017,914,01402,195,456
12Aug 20, 2022 23:145,612113,064,13517,959,38502,195,456