QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#883177#9961. CowsWarrnaCuteCompile Error//C++982.5kb2025-02-05 15:04:342025-02-05 15:04:35

Details

answer.code: In function ‘bool check(int)’:
answer.code:8:23: error: ‘>>’ should be ‘> >’ within a nested template argument list
    8 |    vector<pair<int,int>> D;
      |                       ^~
      |                       > >
answer.code: In function ‘int main()’:
answer.code:85:9: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   85 |    scanf("%d",&n);
      |    ~~~~~^~~~~~~~~
answer.code:87:12: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   87 |       scanf("%d",&A[i]);
      |       ~~~~~^~~~~~~~~~~~