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 17, 2024 03:07Joad NacerJoad NacerScore: 5,685Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 03:075,66242,746,47716,106,0002,013,0002,289,664
2Apr 17, 2024 03:075,66733,911,78416,120,0002,015,0002,273,280
3Apr 17, 2024 03:075,66838,379,78116,121,0002,015,0002,289,664
4Apr 17, 2024 03:075,67339,176,31717,144,0001,008,0002,273,280
5Apr 17, 2024 03:075,67937,747,28516,155,0002,019,0002,289,664
6Apr 17, 2024 03:075,68240,668,39616,161,0002,020,0002,277,376
7Apr 17, 2024 03:075,68542,403,32717,183,0001,010,0002,289,664
8Apr 17, 2024 03:075,68942,876,51116,183,0002,022,0002,289,664
9Apr 17, 2024 03:075,70639,758,16316,231,0002,028,0002,383,872
10Apr 17, 2024 03:075,90686,523,85518,900,10302,174,976
11Apr 17, 2024 03:075,93984,172,66119,003,78502,174,976
12Apr 17, 2024 03:075,96363,729,13019,080,23402,293,760