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:57Joad NacerJoad NacerScore: 5,322Success
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:575,26837,522,63614,874,0001,983,0002,289,664
2Apr 17, 2024 18:575,27432,657,81616,876,00002,289,664
3Apr 17, 2024 18:575,27434,777,46214,893,0001,985,0002,265,088
4Apr 17, 2024 18:575,28741,355,84214,929,0001,990,0002,289,664
5Apr 17, 2024 18:575,30140,941,45514,967,0001,995,0002,277,376
6Apr 17, 2024 18:575,32134,912,66815,024,0002,003,0002,265,088
7Apr 17, 2024 18:575,32236,230,09315,026,0002,003,0002,289,664
8Apr 17, 2024 18:575,32650,407,38015,039,0002,005,0002,289,664
9Apr 17, 2024 18:575,33235,557,25615,054,0002,007,0002,359,296
10Apr 17, 2024 18:575,51581,712,98117,646,74002,297,856
11Apr 17, 2024 18:575,52676,025,00717,684,22502,293,760
12Apr 17, 2024 18:575,55784,880,41117,783,91902,297,856