QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#553018#9253. Prism Palaceucup-team4765#Compile Error//C++141.7kb2024-09-08 05:45:042024-09-08 05:45:04

詳細信息

answer.code: In function ‘int main()’:
answer.code:5:13: error: expected primary-expression before ‘long’
    5 | #define int long long
      |             ^~~~
answer.code:21:22: note: in expansion of macro ‘int’
   21 |             int dp = int(v1[0]*v2[0]+v1[1]*v2[1]);
      |                      ^~~
answer.code:5:13: error: expected primary-expression before ‘long’
    5 | #define int long long
      |             ^~~~
answer.code:28:25: note: in expansion of macro ‘int’
   28 |             double dp = int(v1[0]*v2[0]+v1[1]*v2[1]);
      |                         ^~~
answer.code:5:13: error: expected primary-expression before ‘long’
    5 | #define int long long
      |             ^~~~
answer.code:35:22: note: in expansion of macro ‘int’
   35 |             int dp = int(v1[0]*v2[0]+v1[1]*v2[1]);
      |                      ^~~