QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#128954 | #6300. Best Carry Player 2 | GuanYunchang | Compile Error | / | / | C++14 | 1.1kb | 2023-07-21 17:14:43 | 2023-07-21 17:14:46 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:27:32: error: invalid operands of types ‘ll [37]’ {aka ‘__int128 [37]’} and ‘int’ to binary ‘operator%’ 27 | while(a%10==0) a/=10,z++; | ~^~~ | | | | | int | ll [37] {aka __int128 [37]} answer.code:27:41: error: invalid operands of types ‘ll [37]’ {aka ‘__int128 [37]’} and ‘int’ to binary ‘operator/’ 27 | while(a%10==0) a/=10,z++; | ~^~~~ answer.code:27:41: note: in evaluation of ‘operator/=(ll [37] {aka __int128 [37]}, int)’ answer.code:13:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 13 | scanf("%d",&t); | ~~~~~^~~~~~~~~ answer.code:15:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 15 | scanf("%lld%d",&n,&k); | ~~~~~^~~~~~~~~~~~~~~~