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 listMar 28, 2026 12:10olliecrowolliecrowScore: 4,347Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 28, 2026 12:104,33338,110,73613,867,00002,490,368
2Mar 28, 2026 12:104,33538,891,00613,872,00002,498,560
3Mar 28, 2026 12:104,33837,992,09413,883,00002,281,472
4Mar 28, 2026 12:094,34037,871,06312,821,0001,068,0002,494,464
5Mar 28, 2026 12:114,34036,292,24912,897,000992,0002,281,472
6Mar 28, 2026 12:104,34227,562,43912,902,000992,0002,281,472
7Mar 28, 2026 12:104,34627,803,41512,913,000993,0002,281,472
8Mar 28, 2026 12:094,34730,169,56212,918,000993,0002,486,272
9Mar 28, 2026 12:114,34932,021,72913,918,00002,490,368
10Mar 28, 2026 12:114,35230,778,32912,933,000994,0002,498,560
11Mar 28, 2026 12:104,35329,076,08712,936,000995,0002,281,472
12Mar 28, 2026 12:094,35841,437,71612,950,000996,0002,494,464
13Mar 28, 2026 12:104,35935,936,74012,952,000996,0002,281,472
14Mar 28, 2026 12:104,36132,744,39912,959,000996,0002,535,424
15Mar 28, 2026 12:104,38429,325,13212,026,0002,004,0002,273,280