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 23, 2024 08:09Павел РатмановПавел РатмановScore: 9,963Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 23, 2024 08:099,86060,850,3226,107,00025,446,0002,449,408
2Sep 23, 2024 08:099,87852,813,0137,137,00024,471,0002,281,472
3Sep 23, 2024 08:099,95161,347,5327,961,00023,883,0002,445,312
4Sep 23, 2024 08:099,95359,713,9524,976,00026,873,0002,445,312
5Sep 23, 2024 08:099,96359,774,5894,981,00026,901,0002,457,600
6Sep 23, 2024 08:0910,01553,511,6982,003,00030,046,0002,441,216
7Sep 23, 2024 08:0910,03760,217,5386,022,00026,095,0002,437,120
8Sep 23, 2024 08:0910,04060,573,7845,020,00027,108,0002,281,472
9Sep 23, 2024 08:0910,08156,287,3377,057,00025,203,0002,445,312