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 18:56Joad NacerJoad NacerScore: 6,083Success
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 18:565,99547,208,51717,164,0002,019,0002,265,088
2Apr 17, 2024 18:566,00646,386,97917,197,0002,023,0002,265,088
3Apr 17, 2024 18:566,03140,285,53417,269,0002,031,0002,277,376
4Apr 17, 2024 18:566,03443,011,59217,276,0002,032,0002,273,280
5Apr 17, 2024 18:566,04047,401,76317,294,0002,034,0002,289,664
6Apr 17, 2024 18:566,06441,998,50819,405,00002,269,184
7Apr 17, 2024 18:566,08342,443,23818,440,0001,024,0002,514,944
8Apr 17, 2024 18:566,12145,724,68718,557,0001,030,0002,289,664
9Apr 17, 2024 18:566,12546,037,23218,569,0001,031,0002,277,376
10Apr 17, 2024 18:566,16286,731,20919,719,92702,174,976
11Apr 17, 2024 18:566,18080,947,89619,774,73202,301,952
12Apr 17, 2024 18:566,18592,778,08719,792,60902,256,896