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 18, 2024 19:23Robert BurkeRobert BurkeScore: 4,427Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 19:234,39636,357,50812,057,0002,009,0002,281,472
2Apr 18, 2024 19:234,40038,001,76412,070,0002,011,0002,453,504
3Apr 18, 2024 19:234,40729,573,08712,089,0002,014,0002,281,472
4Apr 18, 2024 19:234,41726,324,91912,116,0002,019,0002,441,216
5Apr 18, 2024 19:234,41835,715,01812,118,0002,019,0002,453,504
6Apr 18, 2024 19:234,42531,176,45412,137,0002,022,0002,281,472
7Apr 18, 2024 19:234,42732,114,66312,142,0002,023,0002,281,472
8Apr 18, 2024 19:234,43031,094,68212,152,0002,025,0002,281,472
9Apr 18, 2024 19:234,43331,926,40412,160,0002,026,0002,281,472
10Apr 18, 2024 19:234,67478,997,94514,957,12802,199,552
11Apr 18, 2024 19:234,68656,931,87814,994,27302,203,648
12Apr 18, 2024 19:234,69686,610,76515,028,70502,195,456