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 24, 2022 11:34Robert BurkeRobert BurkeScore: 4,450Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2022 11:344,42637,684,88812,141,0002,023,0002,449,408
2Jul 24, 2022 11:344,43228,548,66812,156,0002,026,0002,281,472
3Jul 24, 2022 11:344,43839,479,65212,173,0002,028,0002,445,312
4Jul 24, 2022 11:344,44433,041,92912,190,0002,031,0002,281,472
5Jul 24, 2022 11:344,44638,109,60912,194,0002,032,0002,281,472
6Jul 24, 2022 11:344,44928,800,23914,238,00002,277,376
7Jul 24, 2022 11:344,45028,860,78012,207,0002,034,0002,281,472
8Jul 24, 2022 11:344,45140,465,03712,209,0002,034,0002,281,472
9Jul 24, 2022 11:344,45531,797,27413,239,0001,018,0002,277,376
10Jul 24, 2022 11:344,68591,764,89014,992,55902,203,648
11Jul 24, 2022 11:344,69358,758,85115,018,62502,207,744
12Jul 24, 2022 11:344,69485,455,48015,021,04902,203,648