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:09Joad NacerJoad NacerScore: 5,396Success
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:095,34539,073,41915,093,0002,012,0002,289,664
2Apr 17, 2024 03:095,34633,255,97615,096,0002,012,0002,265,088
3Apr 17, 2024 03:095,36439,441,52515,145,0002,019,0002,289,664
4Apr 17, 2024 03:095,36833,490,81016,167,0001,010,0002,289,664
5Apr 17, 2024 03:095,37345,909,00615,172,0002,023,0002,273,280
6Apr 17, 2024 03:095,38938,267,48015,216,0002,028,0002,277,376
7Apr 17, 2024 03:095,39644,120,99315,237,0002,031,0002,523,136
8Apr 17, 2024 03:095,40435,248,65715,259,0002,034,0002,289,664
9Apr 17, 2024 03:095,40745,259,40715,266,0002,035,0002,289,664
10Apr 17, 2024 03:095,64685,859,42818,068,28202,293,760
11Apr 17, 2024 03:095,65373,104,47718,088,07102,174,976
12Apr 17, 2024 03:095,65680,072,87718,100,72202,289,664