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 listJul 27, 2024 10:38kenkenScore: 17,244Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2024 10:3516,196120,493,51051,826,43902,297,856
2Jul 27, 2024 10:3516,227117,346,80351,925,72402,293,760
3Jul 27, 2024 10:3516,229111,803,58051,933,84802,293,760
4Jul 27, 2024 10:3616,246133,817,30351,988,73402,281,472
5Jul 27, 2024 10:3616,255113,422,93452,016,13902,289,664
6Jul 27, 2024 10:3616,321115,124,81252,225,97802,277,376
7Jul 27, 2024 10:3817,181132,797,97654,977,86602,367,488
8Jul 27, 2024 10:3817,244117,867,05555,180,03002,240,512
9Jul 27, 2024 10:3817,265129,973,68055,248,83202,240,512
10Jul 27, 2024 10:3818,842117,363,62860,294,77802,342,912
11Jul 27, 2024 10:3818,941115,839,73260,610,64602,203,648
12Jul 27, 2024 10:3818,954120,257,74660,651,27602,330,624
13Jul 27, 2024 10:3820,671134,544,56166,147,55402,252,800
14Jul 27, 2024 10:3820,708138,721,03566,264,14802,248,704
15Jul 27, 2024 10:3820,833148,215,63166,664,37202,387,968