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 17, 2024 13:41Drew GarciaDrew GarciaScore: 5,490Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 13:415,45039,325,37416,415,0001,025,0002,400,256
2Apr 17, 2024 13:415,46240,308,56516,451,0001,028,0002,269,184
3Apr 17, 2024 13:415,46839,800,77615,441,0002,058,0002,281,472
4Apr 17, 2024 13:415,47143,851,16615,448,0002,059,0002,404,352
5Apr 17, 2024 13:415,47737,004,69716,496,0001,031,0002,269,184
6Apr 17, 2024 13:415,48534,189,43116,520,0001,032,0002,523,136
7Apr 17, 2024 13:415,49048,475,78415,501,0002,066,0002,269,184
8Apr 17, 2024 13:415,49335,433,65516,545,0001,034,0002,412,544
9Apr 17, 2024 13:415,50434,914,13416,577,0001,036,0002,269,184
10Apr 17, 2024 13:415,90093,252,73218,880,68102,301,952
11Apr 17, 2024 13:415,92895,416,42018,968,72202,297,856
12Apr 17, 2024 13:415,94798,450,02119,031,86102,297,856