QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#94833 | #6184. Atcoder Problem | 00 | Compile Error | / | / | C++14 | 4.0kb | 2023-04-07 22:51:15 | 2023-04-07 22:51:16 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘std::vector<ii> conv(std::vector<ii>, std::vector<ii>)’: answer.code:138:122: warning: narrowing conversion of ‘(((1 * ((long long int)a.std::vector<ii>::operator[](((std::vector<ii>::size_type)i)).ii::c)) * ((long long int)cb.std::vector<ii>::operator[](((std::vector<ii>::size_type)k)).ii::c)) % ((long long int)((int)mod)))’ from ‘long long int’ to ‘int’ [-Wnarrowing] 138 | fz0k(k,cb.size()) res.push_back((ii){((a[i].x^cb[k].x)>>a[i].k)<<a[i].k,a[i].k,1ll*a[i].c*cb[k].c%mod}); | ~~~~~~~~~~~~~~~~~~^~~~ answer.code:144:122: warning: narrowing conversion of ‘(((1 * ((long long int)b.std::vector<ii>::operator[](((std::vector<ii>::size_type)j)).ii::c)) * ((long long int)ca.std::vector<ii>::operator[](((std::vector<ii>::size_type)k)).ii::c)) % ((long long int)((int)mod)))’ from ‘long long int’ to ‘int’ [-Wnarrowing] 144 | fz0k(k,ca.size()) res.push_back((ii){((b[j].x^ca[k].x)>>b[j].k)<<b[j].k,b[j].k,1ll*b[j].c*ca[k].c%mod}); | ~~~~~~~~~~~~~~~~~~^~~~ answer.code: In function ‘int main()’: answer.code:160:35: error: ‘tag’ was not declared in this scope; did you mean ‘tar’? 160 | if(it->x<=tag&&tar<it->x+(1ll<<it->k)){ | ^~~ | tar