0_0_34010769_23921.cpp: In function 'll sum(ll)':
0_0_34010769_23921.cpp:27:10: error: 'mod' was not declared in this scope
x %= mod;
^
0_0_34010769_23921.cpp: In function 'll min_25(ll)':
0_0_34010769_23921.cpp:46:30: error: 'cntw' was not declared in this scope
for (int j = 1; j <= cntw && p[i] * p[i] <= w[j]; j++){
^
0_0_34010769_23921.cpp: In function 'int main()':
0_0_34010769_23921.cpp:59:32: error: 'mod' was not declared in this scope
scanf("%lld%lld", &n, &mod);
^
|