QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#536785#9227. Henry the Plumberucup-team4478#Compile Error//C++203.4kb2024-08-29 16:46:462024-08-29 16:46:46

Details

answer.code: In function ‘PT scale(const PT&)’:
answer.code:38:5: error: designated initializers cannot be used with a non-aggregate type ‘PT’
   38 |     };
      |     ^
answer.code:38:5: error: no matching function for call to ‘PT::PT(<brace-enclosed initializer list>)’