Mã chấm: 599604


Main.cc: In function ‘ll tongGCD(int)’:
Main.cc:17:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
   17 | int main() {
      |         ^~
Main.cc:17:9: note: remove parentheses to default-initialize a variable
   17 | int main() {
      |         ^~
      |         --
Main.cc:17:9: note: or replace parentheses with braces to value-initialize a variable
Main.cc:17:12: error: a function-definition is not allowed here before ‘{’ token
   17 | int main() {
      |            ^
Main.cc:24:2: error: expected ‘}’ at end of input
   24 | }
      |  ^
Main.cc:8:19: note: to match this ‘{’
    8 | ll tongGCD(int n) {
      |                   ^
Main.cc:24:2: warning: control reaches end of non-void function [-Wreturn-type]
   24 | }
      |  ^