QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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.
詳細信息
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; | ^