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 listJul 26, 2024 20:39Robert BurkeRobert BurkeScore: 4,419Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 26, 2024 20:394,40430,431,38812,079,0002,013,0002,441,216
2Jul 26, 2024 20:394,40634,789,03512,086,0002,014,0002,449,408
3Jul 26, 2024 20:394,40826,168,97612,090,0002,015,0002,445,312
4Jul 26, 2024 20:394,41332,091,89912,104,0002,017,0002,281,472
5Jul 26, 2024 20:394,41637,715,02512,113,0002,018,0002,281,472
6Jul 26, 2024 20:394,41731,774,65212,115,0002,019,0002,281,472
7Jul 26, 2024 20:394,41929,898,72412,120,0002,020,0002,281,472
8Jul 26, 2024 20:394,42227,892,43112,130,0002,021,0002,281,472
9Jul 26, 2024 20:394,42326,666,47312,131,0002,021,0002,441,216
10Jul 26, 2024 20:394,66986,947,79714,942,27502,207,744
11Jul 26, 2024 20:394,68879,735,73615,000,36102,203,648
12Jul 26, 2024 20:394,69581,521,23815,022,73802,203,648