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 listApr 16, 2024 23:55Joad NacerJoad NacerScore: 5,508Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 16, 2024 23:555,47939,858,42616,501,0001,031,0002,289,664
2Apr 16, 2024 23:555,49239,981,04316,540,0001,033,0002,289,664
3Apr 16, 2024 23:555,49539,738,61517,584,00002,269,184
4Apr 16, 2024 23:555,50039,921,95716,565,0001,035,0002,289,664
5Apr 16, 2024 23:555,50448,056,05016,577,0001,036,0002,289,664
6Apr 16, 2024 23:555,50645,119,42116,584,0001,036,0002,289,664
7Apr 16, 2024 23:555,50848,474,57916,588,0001,036,0002,289,664
8Apr 16, 2024 23:555,51243,918,88017,637,00002,289,664
9Apr 16, 2024 23:555,51545,446,01916,611,0001,038,0002,285,568
10Apr 16, 2024 23:555,68579,719,22518,192,73202,297,856
11Apr 16, 2024 23:555,73886,758,71818,361,03602,252,800
12Apr 16, 2024 23:555,75465,128,32018,413,17602,289,664