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 19, 2026 21:00olliecrowolliecrowScore: 4,418Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 19, 2026 21:004,38931,030,51012,039,0002,006,0002,408,448
2Mar 19, 2026 20:554,40239,425,99613,080,0001,006,0002,285,568
3Mar 19, 2026 21:184,40429,910,10512,079,0002,013,0002,281,472
4Mar 19, 2026 21:144,40734,559,46212,089,0002,014,0002,285,568
5Mar 19, 2026 21:094,40731,837,81512,089,0002,014,0002,510,848
6Mar 19, 2026 21:044,40930,403,91612,094,0002,015,0002,285,568
7Mar 19, 2026 20:554,41437,638,65012,108,0002,018,0002,285,568
8Mar 19, 2026 21:184,41531,241,35312,111,0002,018,0002,285,568
9Mar 19, 2026 21:044,41534,121,55913,118,0001,009,0002,400,256
10Mar 19, 2026 21:094,41536,738,59612,110,0002,018,0002,400,256
11Mar 19, 2026 20:524,41834,987,74113,129,0001,009,0002,285,568
12Mar 19, 2026 21:144,42334,401,94712,131,0002,021,0002,285,568
13Mar 19, 2026 20:554,42430,099,49012,135,0002,022,0002,400,256
14Mar 19, 2026 21:184,42833,207,96312,145,0002,024,0002,392,064
15Mar 19, 2026 20:524,42836,651,26912,145,0002,024,0002,400,256
16Mar 19, 2026 20:524,42930,975,32313,161,0001,012,0002,400,256
17Mar 19, 2026 21:004,43335,191,50913,171,0001,013,0002,285,568
18Mar 19, 2026 21:004,43828,878,67012,173,0002,028,0002,400,256
19Mar 19, 2026 21:094,45331,180,77713,232,0001,017,0002,400,256
20Mar 19, 2026 21:044,46230,352,11713,258,0001,019,0002,404,352
21Mar 19, 2026 21:144,46530,952,86313,337,000952,0002,289,664