QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#149292#5505. Great ChaseZhangYiDeCompile Error//C++202.8kb2023-08-24 12:53:032023-08-24 12:53:05

Details

answer.code: In function ‘void solve()’:
answer.code:67:16: error: ‘long long’ specified with ‘double’
   67 | #define double long double
      |                ^~~~
answer.code:118:9: note: in expansion of macro ‘double’
  118 |    long double l = 0, r = 2e12;
      |         ^~~~~~
answer.code:67:16: error: ‘long long’ specified with ‘double’
   67 | #define double long double
      |                ^~~~
answer.code:118:9: note: in expansion of macro ‘double’
  118 |    long double l = 0, r = 2e12;
      |         ^~~~~~
answer.code:67:16: error: ‘long long’ specified with ‘double’
   67 | #define double long double
      |                ^~~~
answer.code:124:14: note: in expansion of macro ‘double’
  124 |         long double mid = (l + r) * 0.50000;
      |              ^~~~~~