QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#798643 | #9791. Intrusive Donkey | GuanYunchang | Compile Error | / | / | C++17 | 1.2kb | 2024-12-04 15:38:57 | 2024-12-04 15:38:59 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:14:14: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression 14 | ll n,q,tr[1e6+10],opt; | ~~~^~~ answer.code:14:14: error: could not convert ‘(1.0e+6 + (double)10)’ from ‘double’ to ‘long unsigned int’ 14 | ll n,q,tr[1e6+10],opt; | ~~~^~~ | | | double answer.code:14:14: error: size of array ‘tr’ has non-integral type ‘double’ answer.code: In function ‘char query(ll, ll, ll, ll)’: answer.code:49:1: warning: control reaches end of non-void function [-Wreturn-type] 49 | } | ^ answer.code: In function ‘int main()’: answer.code:52:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 52 | scanf("%s",s); | ~~~~~^~~~~~~~