/ Vijos /

记录详情

Compile Error

foo.c:2:12: error: unknown type name '__int64'; did you mean '__int64_t'?
 #define ll __int64
            ^
foo.c:4:1: note: in expansion of macro 'll'
 ll b[110][550];
 ^~
foo.c:2:12: error: unknown type name '__int64'; did you mean '__int64_t'?
 #define ll __int64
            ^
foo.c:5:1: note: in expansion of macro 'll'
 ll dp[110][550];
 ^~
foo.c: In function 'print_ans':
foo.c:12:3: error: 'cout' undeclared (first use in this function)
   cout<<now[a][b]<<endl;
   ^~~~
foo.c:12:3: note: each undeclared identifier is reported only once for each function it appears in
foo.c:12:20: error: 'endl' undeclared (first use in this function)
   cout<<now[a][b]<<endl;
                    ^~~~
foo.c: In function 'main':
foo.c:2:12: error: unknown type name '__int64'; did you mean '__int64_t'?
 #define ll __int64
            ^
foo.c:34:2: note: in expansion of macro 'll'
  ll res;
  ^~
foo.c:36:2: error: 'cin' undeclared (first use in this function); did you mean 'min'?
  cin>>m>>n;
  ^~~
  min
foo.c:38:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(i=1;i<=m;i++)
  ^~~
foo.c:45:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   for(i=1;i<=n;i++){   dp[1][i]=a[1][i], now[1][i]=i; }
   ^~~
foo.c:47:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(i=2;i<=m;i++)
   ^~~
foo.c:69:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
    int end=1;
    ^~~

信息

递交者
类型
递交
题目
P1139 小胖办证
语言
C
递交时间
2020-11-03 12:41:50
评测时间
2020-11-03 12:41:50
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes