| Problem | crypto |
|---|---|
| User | Box |
| Submission Time | 2026-01-26 14:31:08 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
crypto.cpp: In lambda function:
crypto.cpp:41:66: error: ‘const struct std::pair<long long int, long long int>’ has no member named ‘b’
41 | sort(seq.begin(),seq.end(), [](const ii&a, const ii&b){return a.b<b.b;});
| ^
crypto.cpp:41:70: error: ‘const struct std::pair<long long int, long long int>’ has no member named ‘b’
41 | sort(seq.begin(),seq.end(), [](const ii&a, const ii&b){return a.b<b.b;});
| ^
crypto.cpp: In function ‘int main()’:
crypto.cpp:48:24: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<long long int, long long int> >, std::pair<long long int, long long int> >::value_type’ {aka ‘struct std::pair<long long int, long long int>’} has no member named ‘a’
48 | ans+=(((seq[i].a%mod-cnt_s%mod)%mod*f[n-1-i])%mod)%mod;
|