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 listMay 4, 2025 19:10Adam FolwarcznyAdam FolwarcznyScore: 4,218Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 4, 2025 19:084,20835,034,76612,429,0001,035,0002,437,120
2May 4, 2025 19:104,21132,875,70812,438,0001,036,0002,441,216
3May 4, 2025 19:104,21131,805,11412,438,0001,036,0002,531,328
4May 4, 2025 19:104,21129,447,48512,440,0001,036,0002,449,408
5May 4, 2025 19:104,21228,261,81512,441,0001,036,0002,531,328
6May 4, 2025 19:084,21830,238,10712,460,0001,038,0002,531,328
7May 4, 2025 19:104,21831,985,88112,461,0001,038,0002,531,328
8May 4, 2025 19:104,22035,038,95312,467,0001,038,0002,437,120
9May 4, 2025 19:104,22831,880,07412,488,0001,040,0002,441,216
10May 4, 2025 19:104,22926,350,45613,533,00002,445,312
11May 4, 2025 19:104,23031,014,31012,496,0001,041,0002,531,328
12May 4, 2025 19:084,24430,810,71612,536,0001,044,0002,445,312