Problem nprime2
User integrateErrorFunction
Submission Time 2026-05-22 01:59:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nprime2.cpp: In function ‘__int128 upper_bound_of_nth_prime(const __int128&)’:
nprime2.cpp:97:40: error: expected identifier before numeric constant
97 | vector<__int128_t> outliers = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67];
| ^
nprime2.cpp:97:41: error: expected ‘]’ before ‘,’ token
97 | vector<__int128_t> outliers = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67];
| ^
| ]
nprime2.cpp: In lambda function:
nprime2.cpp:97:41: error: expected ‘{’ before ‘,’ token
nprime2.cpp: In function ‘__int128 upper_bound_of_nth_prime(const __int128&)’:
nprime2.cpp:97:41: error: conversion from ‘upper_bound_of_nth_prime(const __int128&)::<lambda()>’ to non-scalar type ‘std::vector<__int128>’ requested
nprime2.cpp:97:43: error: e