全部评论 9

  • 冒昧的问一句,这真的不是抄的吗?(私聊)

    2026-03-11 来自 广东

    4
  • 1

    2026-03-19 来自 浙江

    1
  • /code/judger/run/20260714/5119178782529290337/main.cpp: In function 'int main()':
    /code/judger/run/20260714/5119178782529290337/main.cpp:10:24: error: expected ';' before ')' token
    10 | for (int i = 1; i++) {
    | ^
    | ;
    /code/judger/run/20260714/5119178782529290337/main.cpp:11:24: error: 'h' was not declared in this scope
    11 | scanf("%lld", &h[i]);
    | ^
    /code/judger/run/20260714/5119178782529290337/main.cpp:13:10: error: 'h' was not declared in this scope
    13 | sort(h + 1, h + n + 1); // 按水位排序
    | ^
    compilation terminated due to -fmax-errors=3.
    ???

    2026-08-09 来自 浙江

    0
  • /code/judger/run/20260806/5123383288093737058/main.cpp: In function 'int main()':
    /code/judger/run/20260806/5123383288093737058/main.cpp:10:24: error: expected ';' before ')' token
    10 | for (int i = 1; i++) {
    | ^
    | ;
    /code/judger/run/20260806/5123383288093737058/main.cpp:11:24: error: 'h' was not declared in this scope
    11 | scanf("%lld", &h[i]);
    | ^
    /code/judger/run/20260806/5123383288093737058/main.cpp:13:10: error: 'h' was not declared in this scope
    13 | sort(h + 1, h + n + 1); // 按水位排序
    | ^
    compilation terminated due to -fmax-errors=3.

    ???

    2026-08-06 来自 浙江

    0
  • 666

    2026-06-17 来自 河北

    0
  • 999

    2026-05-14 来自 湖南

    0
  • 2026-05-06 来自 广东

    0
  • /code/judger/run/20260411/5102194592923517025/main.cpp: In function 'int main()':
    /code/judger/run/20260411/5102194592923517025/main.cpp:10:24: error: expected ';' before ')' token
    10 | for (int i = 1; i++) {
    | ^
    | ;
    /code/judger/run/20260411/5102194592923517025/main.cpp:11:24: error: 'h' was not declared in this scope
    11 | scanf("%lld", &h[i]);
    | ^
    /code/judger/run/20260411/5102194592923517025/main.cpp:13:10: error: 'h' was not declared in this scope
    13 | sort(h + 1, h + n + 1); // 按水位排序
    | ^
    compilation terminated due to -fmax-errors=3.

    2026-04-11 来自 重庆

    0
暂无数据

提交答案之后,这里将显示提交结果~

首页