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 26, 2024 20:41Yuriy LyfenkoYuriy LyfenkoScore: 4,432Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 26, 2024 20:414,407537,622,27713,094,0001,007,0002,265,088
2Jul 26, 2024 20:414,409548,623,53313,102,0001,007,0002,523,136
3Jul 26, 2024 20:414,413546,747,55813,112,0001,008,0002,527,232
4Jul 26, 2024 20:414,425537,245,59813,148,0001,011,0002,531,328
5Jul 26, 2024 20:414,429544,735,29412,148,0002,024,0002,265,088
6Jul 26, 2024 20:414,431538,962,71413,168,0001,012,0002,269,184
7Jul 26, 2024 20:414,432547,553,85614,181,00002,265,088
8Jul 26, 2024 20:414,449540,041,72813,220,0001,016,0002,265,088
9Jul 26, 2024 20:414,462545,052,76012,238,0002,039,0002,269,184
10Jul 26, 2024 20:414,620581,149,12214,782,80102,277,376
11Jul 26, 2024 20:414,636569,274,13014,834,88402,277,376
12Jul 26, 2024 20:414,643572,526,41614,856,17602,248,704