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 26, 2025 20:08lukostlukostScore: 5,082Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 26, 2025 20:085,05334,242,74014,150,0002,021,0002,277,376
2Apr 26, 2025 20:085,06037,331,62414,169,0002,024,0002,445,312
3Apr 26, 2025 20:085,06636,942,01714,186,0002,026,0002,445,312
4Apr 26, 2025 20:085,08243,382,03215,246,0001,016,0002,437,120
5Apr 26, 2025 20:085,08236,093,74215,246,0001,016,0002,277,376
6Apr 26, 2025 20:085,09335,896,31415,278,0001,018,0002,531,328
7Apr 26, 2025 20:085,10139,445,74115,304,0001,020,0002,277,376
8Apr 26, 2025 20:085,11036,676,02915,330,0001,022,0002,449,408
9Apr 26, 2025 20:085,11233,113,83515,336,0001,022,0002,539,520