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 16, 2024 22:00Joad NacerJoad NacerScore: 5,903Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 16, 2024 22:005,89055,116,10117,857,000992,0002,289,664
2Apr 16, 2024 22:005,89144,164,53117,860,000992,0002,289,664
3Apr 16, 2024 22:005,89343,756,71516,872,0001,984,0002,289,664
4Apr 16, 2024 22:005,89344,309,77317,867,000992,0002,371,584
5Apr 16, 2024 22:005,89348,926,09816,874,0001,985,0002,277,376
6Apr 16, 2024 22:005,89547,649,19616,878,0001,985,0002,289,664
7Apr 16, 2024 22:005,90340,505,45216,902,0001,988,0002,289,664
8Apr 16, 2024 22:005,91148,506,36017,921,000995,0002,273,280
9Apr 16, 2024 22:005,91641,559,13417,935,000996,0002,289,664
10Apr 16, 2024 22:006,10279,380,63719,525,14002,187,264
11Apr 16, 2024 22:006,10293,120,41819,527,07002,174,976
12Apr 16, 2024 22:006,11485,540,06719,563,73502,301,952