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 listJun 8, 2021 02:33evgenikwtevgenikwtScore: 5,276Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2021 02:335,26640,210,14815,861,000991,0002,527,232
2Jun 8, 2021 02:335,26843,752,88814,874,0001,983,0002,265,088
3Jun 8, 2021 02:335,27232,385,13216,870,00002,265,088
4Jun 8, 2021 02:335,27347,467,56915,880,000992,0002,392,064
5Jun 8, 2021 02:335,27348,748,28814,888,0001,985,0002,265,088
6Jun 8, 2021 02:335,27433,828,77815,885,000992,0002,265,088
7Jun 8, 2021 02:335,27644,432,80516,882,00002,265,088
8Jun 8, 2021 02:335,28145,766,06515,904,000994,0002,387,968
9Jun 8, 2021 02:335,30843,202,73814,986,0001,998,0002,265,088
10Jun 8, 2021 02:335,45587,095,85717,457,04602,281,472
11Jun 8, 2021 02:335,46686,774,81617,490,64602,244,608
12Jun 8, 2021 02:335,47986,700,23917,534,09902,240,512