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 6, 2026 09:06Rajarshi BasuRajarshi BasuScore: 4,387Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 6, 2026 09:074,36536,267,14412,970,000997,0002,400,256
2Jan 6, 2026 09:064,36643,021,03311,975,0001,995,0002,277,376
3Jan 6, 2026 09:064,36929,909,61811,985,0001,997,0002,396,160
4Jan 6, 2026 09:064,37642,846,34713,004,0001,000,0002,277,376
5Jan 6, 2026 09:064,37736,727,82913,006,0001,000,0002,277,376
6Jan 6, 2026 09:074,37836,908,35613,009,0001,000,0002,404,352
7Jan 6, 2026 09:064,38339,060,87112,022,0002,003,0002,277,376
8Jan 6, 2026 09:064,38334,081,89514,026,00002,396,160
9Jan 6, 2026 09:064,38732,138,10113,037,0001,002,0002,400,256
10Jan 6, 2026 09:064,38732,087,63712,033,0002,005,0002,277,376
11Jan 6, 2026 09:064,39030,534,04513,044,0001,003,0002,277,376
12Jan 6, 2026 09:064,39133,326,83413,047,0001,003,0002,400,256
13Jan 6, 2026 09:064,39231,529,00312,046,0002,007,0002,277,376
14Jan 6, 2026 09:074,40028,688,12313,076,0001,005,0002,400,256
15Jan 6, 2026 09:064,40430,064,96812,080,0002,013,0002,396,160
16Jan 6, 2026 09:064,44335,950,68612,187,0002,031,0002,392,064
17Jan 6, 2026 09:064,44838,195,18813,216,0001,016,0002,404,352
18Jan 6, 2026 09:064,63231,406,88613,764,0001,058,0002,392,064