QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#304002#7785. Three Rectanglesucup-team639Compile Error//C++143.2kb2024-01-13 11:09:032024-01-13 11:09:04

Details

answer.code: In function ‘int main()’:
answer.code:13:16: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’
   13 |     for (auto& [a,b]: dim) cin>>b>>a;
      |                ^
answer.code:82:18: error: ‘clamp’ was not declared in this scope
   82 |         bl.first=clamp(bl.first, 1ll,w1);
      |                  ^~~~~