记录详情

Compile Error

foo.cc:5:12: warning: missing terminating " character
    5 |     printf("hello, world\#include <iostream>
      |            ^
foo.cc:5:12: error: missing terminating " character
    5 |     printf("hello, world\#include <iostream>
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:105:2: warning: missing terminating " character
  105 | n");
      |  ^
foo.cc:105:2: error: missing terminating " character
  105 | n");
      |  ^~~
foo.cc: In function 'int main()':
foo.cc:6:1: error: expected primary-expression before 'using'
    6 | using namespace std;
      | ^~~~~
foo.cc:10:1: error: a function-definition is not allowed here before '{' token
   10 | {
      | ^
foo.cc:19:1: error: a function-definition is not allowed here before '{' token
   19 | {
      | ^
foo.cc:37:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
   37 | int main()
      |         ^~
foo.cc:37:9: note: remove parentheses to default-initialize a variable
   37 | int main()
      |         ^~
      |         --
foo.cc:37:9: note: or replace parentheses with braces to value-initialize a variable
foo.cc:38:1: error: a function-definition is not allowed here before '{' token
   38 | {
      | ^
foo.cc:105:1: error: 'n' was not declared in this scope
  105 | n");
      | ^
foo.cc:7:5: warning: unused variable 'num' [-Wunused-variable]
    7 | int num[100000] = {1};
      |     ^~~
foo.cc:8:5: warning: unused variable 'res' [-Wunused-variable]
    8 | int res[100000] = {0};
      |     ^~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
A11-2 K进制的高精度整数
语言
C++
递交时间
2023-11-11 19:07:18
评测时间
2023-11-11 19:07:18
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes