QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#682657 | #9528. New Energy Vehicle | ucup-team4777# | Compile Error | / | / | C++20 | 1.9kb | 2024-10-27 16:43:06 | 2024-10-27 16:43:07 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code:4:13: error: ‘long long long’ is too long for GCC 4 | #define int long long | ^~~~ answer.code:10:11: note: in expansion of macro ‘int’ 10 | long long int judge(long long n,long long m){ | ^~~ answer.code:4:18: error: ‘long long long’ is too long for GCC 4 | #define int long long | ^~~~ answer.code:10:11: note: in expansion of macro ‘int’ 10 | long long int judge(long long n,long long m){ | ^~~ answer.code: In function ‘long long int judge(long long int, long long int)’: answer.code:4:13: error: ‘long long long’ is too long for GCC 4 | #define int long long | ^~~~ answer.code:11:15: note: in expansion of macro ‘int’ 11 | long long int sum=0,now; | ^~~ answer.code:4:18: error: ‘long long long’ is too long for GCC 4 | #define int long long | ^~~~ answer.code:11:15: note: in expansion of macro ‘int’ 11 | long long int sum=0,now; | ^~~ answer.code:13:18: error: ‘a’ was not declared in this scope 13 | sum+=a[i]; | ^ answer.code:4:13: error: ‘long long long’ is too long for GCC 4 | #define int long long | ^~~~ answer.code:17:19: note: in expansion of macro ‘int’ 17 | long long int x,y; | ^~~ answer.code:4:18: error: ‘long long long’ is too long for GCC 4 | #define int long long | ^~~~ answer.code:17:19: note: in expansion of macro ‘int’ 17 | long long int x,y; | ^~~ answer.code:27:47: error: ‘a’ was not declared in this scope 27 | now=now+min(x-last[y],min(sum-now,a[y])); | ^ answer.code:32:1: warning: no return statement in function returning non-void [-Wreturn-type] 32 | } | ^ answer.code: In function ‘void solve()’: answer.code:45:13: error: invalid types ‘__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type {aka long long int}[int]’ for array subscript 45 | b[i][0]=x,b[i][1]=y; | ^ answer.code:45:23: error: invalid types ‘__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type {aka long long int}[int]’ for array subscript 45 | b[i][0]=x,b[i][1]=y; | ^