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 listAug 7, 2024 03:52matsuoka-601matsuoka-601Error
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 7, 2024 03:5600000Error: expected "976232 ", got "780422"stderr
2Aug 7, 2024 03:524,40237,690,91912,074,0002,012,0002,281,472
3Aug 7, 2024 03:524,41931,977,05512,121,0002,020,0002,281,472
4Aug 7, 2024 03:524,43030,115,50212,150,0002,025,0002,453,504
5Aug 7, 2024 03:524,43637,872,44912,167,0002,027,0002,281,472
6Aug 7, 2024 03:524,43632,129,14213,181,0001,013,0002,281,472
7Aug 7, 2024 03:524,43830,141,50712,174,0002,029,0002,281,472
8Aug 7, 2024 03:524,44031,324,17512,179,0002,029,0002,281,472
9Aug 7, 2024 03:524,44330,398,66112,186,0002,031,0002,277,376
10Aug 7, 2024 03:524,45728,600,26713,243,0001,018,0002,281,472
11Aug 7, 2024 03:524,67387,175,30614,955,11902,207,744
12Aug 7, 2024 03:524,67662,006,95814,963,87902,338,816
13Aug 7, 2024 03:524,69257,582,99415,015,57502,199,552