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 listDec 1, 2024 11:55matsuoka-601matsuoka-601Score: 4,398Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 1, 2024 11:554,38828,456,14012,037,0002,006,0002,527,232
2Dec 1, 2024 11:554,39432,924,04112,052,0002,008,0002,535,424
3Dec 1, 2024 11:554,39538,886,91412,055,0002,009,0002,277,376
4Dec 1, 2024 11:554,39730,705,42812,061,0002,010,0002,445,312
5Dec 1, 2024 11:554,39829,669,73612,063,0002,010,0002,441,216
6Dec 1, 2024 11:554,40336,306,61512,077,0002,012,0002,437,120
7Dec 1, 2024 11:554,40435,127,58312,080,0002,013,0002,277,376
8Dec 1, 2024 11:554,41529,716,22112,110,0002,018,0002,441,216
9Dec 1, 2024 11:554,42731,913,52512,143,0002,023,0002,445,312