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 listJun 30, 2024 13:54AnSaAnSaScore: 4,707Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 13:544,68534,829,59612,993,0001,999,0002,531,328
2Jun 30, 2024 13:544,69338,921,39813,017,0002,002,0002,269,184
3Jun 30, 2024 13:544,69330,880,68213,017,0002,002,0002,498,560
4Jun 30, 2024 13:544,69530,884,85214,023,0001,001,0002,269,184
5Jun 30, 2024 13:544,69733,340,36814,028,0001,002,0002,269,184
6Jun 30, 2024 13:544,70037,095,08612,033,0003,008,0002,494,464
7Jun 30, 2024 13:544,70735,875,5279,037,0006,024,0002,494,464
8Jun 30, 2024 13:544,70830,342,08313,058,0002,009,0002,269,184
9Jun 30, 2024 13:544,71338,684,94212,065,0003,016,0002,494,464
10Jun 30, 2024 13:544,94466,318,35515,819,72402,244,608
11Jun 30, 2024 13:544,97394,205,77615,913,68302,240,512
12Jun 30, 2024 13:544,97596,839,90615,918,68602,383,872