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 listSep 9, 2025 15:51korsajankorsajanScore: 37,189Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 9, 2025 15:5137,147143,347,871116,872,0001,997,0002,318,336
2Sep 9, 2025 15:5137,151151,107,862116,884,0001,998,0002,326,528
3Sep 9, 2025 15:5137,170142,154,087117,946,000999,0002,297,856
4Sep 9, 2025 15:5137,184148,020,065117,991,000999,0002,441,216
5Sep 9, 2025 15:5137,189150,957,296118,005,0001,000,0002,437,120
6Sep 9, 2025 15:5137,207147,503,451118,063,0001,000,0002,437,120
7Sep 9, 2025 15:5137,223149,133,739116,113,0003,002,0002,326,528
8Sep 9, 2025 15:5137,229147,432,130116,129,0003,003,0002,326,528
9Sep 9, 2025 15:5137,230145,275,498117,135,0002,002,0002,314,240