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 19, 2024 19:18AnSaAnSaScore: 5,942Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2024 19:185,76983,804,34918,462,30602,293,760
2Jan 19, 2024 19:185,77291,618,81318,471,28302,293,760
3Jan 19, 2024 19:185,77391,449,77418,473,83302,293,760
4Jan 19, 2024 19:185,91347,260,06316,930,0001,991,0002,367,488
5Jan 19, 2024 19:185,93846,163,97417,000,0002,000,0002,461,696
6Jan 19, 2024 19:185,94246,414,84018,013,0001,000,0002,367,488
7Jan 19, 2024 19:185,94248,006,91717,013,0002,001,0002,375,680
8Jan 19, 2024 19:185,95448,945,30817,048,0002,005,0002,453,504
9Jan 19, 2024 19:185,97149,452,42118,102,0001,005,0002,367,488
10Jan 19, 2024 19:185,97744,495,42717,114,0002,013,0002,367,488
11Jan 19, 2024 19:185,98450,228,69317,134,0002,015,0002,363,392
12Jan 19, 2024 19:185,99247,402,81319,173,00002,527,232