QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#843884 | #9962. Diminishing Fractions | ucup-team3612# | Compile Error | / | / | C++23 | 4.4kb | 2025-01-05 06:15:08 | 2025-01-05 06:15:08 |
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:100:32: error: a function-definition is not allowed here before ‘{’ token 100 | int fpow(int a, int b, int mod){ | ^ answer.code:107:20: error: a function-definition is not allowed here before ‘{’ token 107 | int cmp(ii a, ii b){ | ^ answer.code:111:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 111 | int main(){FIN; | ^~ answer.code:111:9: note: remove parentheses to default-initialize a variable 111 | int main(){FIN; | ^~ | -- answer.code:111:9: note: or replace parentheses with braces to value-initialize a variable answer.code:111:11: error: a function-definition is not allowed here before ‘{’ token 111 | int main(){FIN; | ^