QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#160968#5580. Branch ManagerGuanYunchangCompile Error//C++231.5kb2023-09-02 21:59:482023-09-02 21:59:48

Details

answer.code:11:7: error: ‘ll’ does not name a type; did you mean ‘ull’?
   11 | const ll INF= 0x3f3f3f3f3f3f3f;
      |       ^~
      |       ull
answer.code:16:14: error: ‘ll’ was not declared in this scope; did you mean ‘ull’?
   16 | typedef pair<ll,ll> pll;
      |              ^~
      |              ull
answer.code:16:17: error: ‘ll’ was not declared in this scope; did you mean ‘ull’?
   16 | typedef pair<ll,ll> pll;
      |                 ^~
      |                 ull
answer.code:16:19: error: template argument 1 is invalid
   16 | typedef pair<ll,ll> pll;
      |                   ^
answer.code:16:19: error: template argument 2 is invalid
answer.code:17:1: error: ‘ll’ does not name a type; did you mean ‘pll’?
   17 | ll gcd(ll a,ll b){return b!=0?gcd(b,a%b):a;}
      | ^~
      | pll
answer.code: In function ‘int main()’:
answer.code:53:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   53 |     freopen("C:\\Users\\ailurophile\\Desktop\\11414\\input.in","r",stdin);
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
answer.code:54:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   54 |     freopen("C:\\Users\\ailurophile\\Desktop\\11414\\output.out","w",stdout);
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~