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 listNov 10, 2024 07:24Viktor SuprunViktor SuprunScore: 101,359Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 10, 2024 07:24100,740345,055,939216,248,000106,121,0002,453,504
2Nov 10, 2024 07:24101,359349,996,712215,232,000109,117,0002,334,720
3Nov 10, 2024 07:24101,506348,047,224213,880,000110,938,0002,428,928