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 28, 2025 21:19lukostlukostScore: 4,463Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 28, 2025 21:194,44631,090,43612,194,0002,032,0002,539,520
2Apr 28, 2025 21:194,44831,634,81812,199,0002,033,0002,441,216
3Apr 28, 2025 21:194,45729,055,53013,244,0001,018,0002,277,376
4Apr 28, 2025 21:194,45928,329,01412,232,0002,038,0002,277,376
5Apr 28, 2025 21:194,46328,769,96213,262,0001,020,0002,539,520
6Apr 28, 2025 21:194,46931,744,72313,280,0001,021,0002,449,408
7Apr 28, 2025 21:194,47430,043,27213,296,0001,022,0002,535,424
8Apr 28, 2025 21:194,47829,576,26013,308,0001,023,0002,449,408
9Apr 28, 2025 21:194,47932,847,03813,310,0001,023,0002,453,504