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 29, 2024 22:08Joad NacerJoad NacerScore: 4,849Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 29, 2024 22:084,82431,735,83314,407,0001,029,0002,285,568
2Apr 29, 2024 22:084,82540,228,47214,410,0001,029,0002,289,664
3Apr 29, 2024 22:084,82537,237,77114,412,0001,029,0002,269,184
4Apr 29, 2024 22:084,83838,122,51114,448,0001,032,0002,289,664
5Apr 29, 2024 22:084,83832,866,98314,449,0001,032,0002,289,664
6Apr 29, 2024 22:084,84638,463,71114,474,0001,033,0002,289,664
7Apr 29, 2024 22:084,84937,856,01415,518,00002,277,376
8Apr 29, 2024 22:084,87832,488,17114,571,0001,040,0002,289,664
9Apr 29, 2024 22:084,88432,181,49914,588,0001,042,0002,289,664
10Apr 29, 2024 22:085,08772,333,40516,277,82202,179,072
11Apr 29, 2024 22:085,12478,781,62116,398,35402,306,048
12Apr 29, 2024 22:085,14775,423,25816,469,88402,174,976