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 listApr 24, 2025 19:35lukostlukostError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2025 19:3400000Error: expected "978306 ", got "978304 "stderr
2Apr 24, 2025 19:3500000Error: expected "976101 ", got "976100 "stderr
3Apr 24, 2025 19:358,08450,340,94917,909,0007,959,0002,482,176
4Apr 24, 2025 19:358,10346,641,49918,948,0006,980,0002,359,296
5Apr 24, 2025 19:358,15052,484,47916,049,00010,031,0002,314,240