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 23, 2022 04:30Robert BurkeRobert BurkeScore: 4,650Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 23, 2022 04:304,58130,748,77613,613,0001,047,0002,445,312
2Jul 23, 2022 04:304,58828,860,58713,633,0001,048,0002,281,472
3Jul 23, 2022 04:304,60326,996,76113,679,0001,052,0002,441,216
4Jul 23, 2022 04:304,63732,354,43812,859,0001,978,0002,449,408
5Jul 23, 2022 04:304,64729,183,36012,888,0001,982,0002,277,376
6Jul 23, 2022 04:304,64830,407,65812,890,0001,983,0002,445,312
7Jul 23, 2022 04:304,65033,749,16712,897,0001,984,0002,277,376
8Jul 23, 2022 04:304,65128,016,93813,892,000992,0002,445,312
9Jul 23, 2022 04:304,65346,591,58212,904,0001,985,0002,281,472
10Jul 23, 2022 04:304,82084,736,58615,424,26302,207,744
11Jul 23, 2022 04:304,82781,299,21715,446,39902,260,992
12Jul 23, 2022 04:304,85175,632,43915,524,44402,199,552