QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#149292#5505. Great ChaseZhangYiDeCompile Error//C++202.8kb2023-08-24 12:53:032023-08-24 12:53:05

詳細信息

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;
      |              ^~~~~~