QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#179746#6416. Classical Scheduling ProblemmaxrgbyCompile Error//C++203.4kb2023-09-15 03:03:172023-09-15 03:03:17

Details

answer.code: In function ‘std::pair<bool, long long int> check(long long int, std::vector<std::pair<std::pair<long long int, long long int>, long long int> >&, long long int)’:
answer.code:36:40: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<std::pair<long long int, long long int>, long long int> >, std::pair<std::pair<long long int, long long int>, long long int> >::value_type’ {aka ‘struct std::pair<std::pair<long long int, long long int>, long long int>’} has no member named ‘fist’; did you mean ‘first’?
   36 |                         val = arr[i-1].fist.second;
      |                                        ^~~~
      |                                        first