Sum of prime numbers Andrey Tsvetkov

Compute the sum of all prime numbers in a stream of binary integers as fast as possible.

Input: 1 000 000 uint32 values in little-endian binary on STDIN (4 bytes each).

Output: The uint64 sum of all values that are prime, printed as a decimal string.

Date AuthorLanguageStatus Score
May 6, 2026 02:22olliecrowolliecrowCPPclang++18.1.3Success14,056
May 5, 2026 19:55olliecrowolliecrowCPPclang++18.1.3Success11,731
May 5, 2026 07:56Victor MerckléVictor MerckléCPPg++14.2.0Error
May 5, 2026 01:45olliecrowolliecrowCPPclang++18.1.3Success11,884
May 5, 2026 01:02olliecrowolliecrowCPPclang++18.1.3Success11,818
May 4, 2026 23:35olliecrowolliecrowCPPclang++18.1.3Success11,720
May 4, 2026 22:43olliecrowolliecrowCPPclang++18.1.3Error
May 3, 2026 21:06TudyMTudyMCPPg++14.2.0Success30,061
May 3, 2026 21:03TudyMTudyMCPPg++14.2.0Success32,075
May 3, 2026 20:58TudyMTudyMCPPg++14.2.0Success30,402
May 3, 2026 20:51TudyMTudyMCPPg++14.2.0Success30,939
May 3, 2026 20:46TudyMTudyMCPPg++14.2.0Success30,476
May 3, 2026 20:41TudyMTudyMCPPg++14.2.0Success30,044+0.25 RP
May 3, 2026 20:35TudyMTudyMCPPg++14.2.0Success30,134
May 3, 2026 20:31TudyMTudyMCPPg++14.2.0Success30,067+3.42 RP
May 3, 2026 20:02TudyMTudyMCPPg++14.2.0Success30,379+0.28 RP
May 3, 2026 19:56TudyMTudyMCPPg++14.2.0Success42,501
May 3, 2026 19:52TudyMTudyMCPPg++14.2.0Success30,405+4.86 RP
May 3, 2026 19:46TudyMTudyMCPPg++14.2.0Success30,861+2.42 RP
May 3, 2026 19:42TudyMTudyMCPPg++14.2.0Success31,234
May 3, 2026 19:35TudyMTudyMCPPg++14.2.0Success31,093+0.59 RP
May 3, 2026 19:30TudyMTudyMCPPg++14.2.0Success31,150+1.75 RP
May 3, 2026 19:26TudyMTudyMCPPg++14.2.0Success31,354
May 3, 2026 19:21TudyMTudyMCPPg++14.2.0Success31,494
May 3, 2026 19:16TudyMTudyMCPPg++14.2.0Success31,480
May 3, 2026 19:11TudyMTudyMCPPg++14.2.0Success31,321+3.42 RP
May 3, 2026 19:06TudyMTudyMCPPg++14.2.0Success31,660+2.11 RP
May 3, 2026 19:01TudyMTudyMCPPg++14.2.0Success31,873+5.91 RP
May 3, 2026 18:56TudyMTudyMCPPg++14.2.0Success32,485+4.79 RP
May 1, 2026 16:41Pavel SkripkinPavel SkripkinRUSTrust-1.95.0Success38,978
Apr 30, 2026 23:38Charles CabergsCharles CabergsCPPclang++18.1.3Success21,621
Apr 30, 2026 21:08olliecrowolliecrowZIG0.15.2Success12,131
Apr 30, 2026 20:49olliecrowolliecrowCSHARP9.0.15Success13,076
Apr 30, 2026 20:33olliecrowolliecrowGOgo1.26.2Success12,400
Apr 30, 2026 20:26olliecrowolliecrowGOgo1.26.2Error
Apr 30, 2026 16:05Charles CabergsCharles CabergsCPPclang++18.1.3Success30,381
Apr 30, 2026 13:31Charles CabergsCharles CabergsCPPclang++18.1.3In queue
Apr 30, 2026 13:19olliecrowolliecrowGOgo1.26.2Success12,396
Apr 30, 2026 13:14olliecrowolliecrowGOgo1.26.2Success12,425
Apr 30, 2026 12:59olliecrowolliecrowRUSTrust-1.94.0Success11,684
Apr 30, 2026 12:44olliecrowolliecrowCPPclang++18.1.3Success11,672
Apr 30, 2026 10:30olliecrowolliecrowZIG0.15.2Success11,997
Apr 30, 2026 10:27olliecrowolliecrowZIG0.15.2Error
Apr 30, 2026 10:22olliecrowolliecrowZIG0.15.1Success12,040
Apr 30, 2026 10:04olliecrowolliecrowCSHARP9.0.15Success13,181
Apr 30, 2026 09:02olliecrowolliecrowZIG0.15.2Success11,986
Apr 30, 2026 08:44olliecrowolliecrowCSHARP9.0.15Success13,635
Apr 30, 2026 08:30olliecrowolliecrowGOgo1.26.2Success12,455
Apr 30, 2026 08:14olliecrowolliecrowRUSTrust-1.94.0Success12,004
Apr 30, 2026 08:00olliecrowolliecrowCPPclang++18.1.3Success11,421+24.15 RP
Apr 30, 2026 07:18olliecrowolliecrowCSHARP9.0.15Success13,601
Apr 30, 2026 06:48olliecrowolliecrowRUSTrust-1.94.0Success43,060
Apr 30, 2026 05:33Charles CabergsCharles CabergsCPPclang++18.1.3Success34,318
Apr 30, 2026 04:23olliecrowolliecrowCSHARP9.0.15Success13,619
Apr 30, 2026 04:07olliecrowolliecrowGOgo1.26.2Error
Apr 30, 2026 03:49olliecrowolliecrowRUSTrust-1.94.0Success11,848
Apr 30, 2026 03:46olliecrowolliecrowRUSTrust-1.94.0Error
Apr 30, 2026 02:42olliecrowolliecrowCSHARP9.0.15Success19,022
Apr 30, 2026 01:08olliecrowolliecrowCSHARP9.0.15Success19,677
Apr 30, 2026 01:04olliecrowolliecrowCSHARP9.0.15Error
Apr 29, 2026 23:31olliecrowolliecrowRUSTrust-1.94.0Success11,915
Apr 29, 2026 21:52olliecrowolliecrowRUSTrust-1.94.0Success12,664
Apr 29, 2026 20:22olliecrowolliecrowCSHARP9.0.15Success19,888
Apr 29, 2026 20:20olliecrowolliecrowCSHARP9.0.15Error
Apr 29, 2026 19:59olliecrowolliecrowCPPclang++18.1.3Success11,745+7.54 RP
Apr 29, 2026 19:18olliecrowolliecrowCSHARP9.0.15Success27,746
Apr 29, 2026 18:00olliecrowolliecrowRUSTrust-1.95.0Success12,440
Apr 29, 2026 17:09olliecrowolliecrowRUSTrust-1.94.0Success13,527
Apr 29, 2026 17:01olliecrowolliecrowCPPclang++18.1.3Success12,303
Apr 29, 2026 16:22olliecrowolliecrowCSHARP9.0.15Success26,057
Apr 29, 2026 16:20olliecrowolliecrowCSHARP9.0.15Error
Apr 29, 2026 16:00olliecrowolliecrowRUSTrust-1.94.0Success12,086
Apr 29, 2026 15:56olliecrowolliecrowRUSTrust-1.94.0Error
Apr 29, 2026 15:46olliecrowolliecrowCPPg++13.3.0Success14,054
Apr 29, 2026 14:46olliecrowolliecrowCPPclang++18.1.3Error
Apr 29, 2026 13:54TudyMTudyMCPPg++10.5.0Success34,162
Apr 29, 2026 13:51TudyMTudyMCPPclang++20.1.2Success33,672
Apr 29, 2026 13:48TudyMTudyMCPPg++14.2.0Success32,998+0.06 RP
Apr 29, 2026 13:46olliecrowolliecrowRUSTrust-1.95.0Success14,111
Apr 29, 2026 13:45TudyMTudyMCPPg++14.2.0Success33,004+1.69 RP
Apr 29, 2026 13:42TudyMTudyMCPPg++10.5.0Success35,013
Apr 29, 2026 13:39TudyMTudyMCPPg++10.5.0Success33,189+5.78 RP
Apr 29, 2026 13:38olliecrowolliecrowCPPclang++18.1.3Success12,102
Apr 29, 2026 13:35TudyMTudyMCPPg++10.5.0Success35,878
Apr 29, 2026 13:32TudyMTudyMCPPg++10.5.0Success34,585
Apr 29, 2026 13:18TudyMTudyMCPPg++10.5.0Success36,079
Apr 29, 2026 13:16TudyMTudyMCPPg++10.5.0Success33,960
Apr 29, 2026 13:09TudyMTudyMCPPg++10.5.0Success33,838+1.29 RP
Apr 29, 2026 13:01TudyMTudyMCPPg++10.5.0Success34,194
Apr 29, 2026 12:54olliecrowolliecrowRUSTrust-1.95.0Success12,470
Apr 29, 2026 12:42TudyMTudyMCPPg++10.5.0Success33,986+56.91 RP
Apr 29, 2026 11:26Dominique GarmierDominique GarmierCPPg++13.3.0Success10,332
Apr 29, 2026 11:25Dominique GarmierDominique GarmierCPPg++13.3.0Success10,271
Apr 29, 2026 11:20Dominique GarmierDominique GarmierCPPg++13.3.0Success10,378
Apr 29, 2026 11:16Dominique GarmierDominique GarmierCPPg++13.3.0Error
Apr 29, 2026 11:07olliecrowolliecrowCSHARP9.0.14Success19,636
Apr 29, 2026 11:02olliecrowolliecrowCSHARP9.0.14Success19,817
Apr 29, 2026 10:48olliecrowolliecrowRUSTrust-1.94.0Success12,720
Apr 29, 2026 09:46olliecrowolliecrowCPPclang++18.1.3Success12,209
Apr 29, 2026 08:53olliecrowolliecrowGOgo1.26.2Success12,776