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 listJan 1, 2023 21:46Jack FrigaardJack FrigaardScore: 5,724Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 1, 2023 21:465,63234,315,71116,021,0002,002,0002,273,280
2Jan 1, 2023 21:465,63738,533,85016,034,0002,004,0002,273,280
3Jan 1, 2023 21:465,65042,960,90616,072,0002,009,0002,379,776
4Jan 1, 2023 21:465,67744,204,03617,157,0001,009,0002,285,568
5Jan 1, 2023 21:465,68840,096,42118,203,00002,269,184
6Jan 1, 2023 21:465,71345,108,34416,251,0002,031,0002,527,232
7Jan 1, 2023 21:465,72443,048,62616,283,0002,035,0002,285,568
8Jan 1, 2023 21:465,73142,426,79516,302,0002,037,0002,523,136
9Jan 1, 2023 21:465,80839,878,27917,553,0001,032,0002,531,328
10Jan 1, 2023 21:466,08473,562,90219,470,23902,297,856
11Jan 1, 2023 21:466,10678,212,01719,539,20602,293,760
12Jan 1, 2023 21:466,23685,821,92619,953,77202,256,896