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 1, 2026 23:13HattonuriHattonuriScore: 4,450Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 1, 2026 23:094,42836,163,74812,146,0002,024,0002,273,280
2Jan 1, 2026 23:094,44735,653,24512,198,0002,033,0002,437,120
3Jan 1, 2026 23:114,44839,959,15812,200,0002,033,0002,449,408
4Jan 1, 2026 23:134,44828,112,03212,202,0002,033,0002,535,424
5Jan 1, 2026 23:114,45040,739,19112,205,0002,034,0002,531,328
6Jan 1, 2026 23:134,45534,184,15313,238,0001,018,0002,453,504
7Jan 1, 2026 23:094,45835,789,04313,247,0001,019,0002,535,424
8Jan 1, 2026 23:114,46032,737,30512,234,0002,039,0002,441,216
9Jan 1, 2026 23:134,46539,045,83513,268,0001,020,0002,535,424