/ Vijos /

记录详情

Compile Error

foo.cc:14:12: error: 'long long long' is too long for GCC
   14 | #define ll long long
      |            ^~~~
foo.cc:18:19: note: in expansion of macro 'll'
   18 | typedef long long ll;
      |                   ^~
foo.cc:14:17: error: 'long long long' is too long for GCC
   14 | #define ll long long
      |                 ^~~~
foo.cc:18:19: note: in expansion of macro 'll'
   18 | typedef long long ll;
      |                   ^~
foo.cc:14:17: error: declaration does not declare anything [-fpermissive]
   14 | #define ll long long
      |                 ^~~~
foo.cc:18:19: note: in expansion of macro 'll'
   18 | typedef long long ll;
      |                   ^~
foo.cc: In function 'int main()':
foo.cc:24:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   24 |  scanf("%lld%lld%lld%lld", &n, &m, &a, &b);
      |  ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:27:37: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   27 |   for (int j = 1; j <= m; j++) scanf("%lld", &g[i][j]);
      |                                ~~~~~^~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1764 Dual Matrices
语言
C++
递交时间
2022-03-30 11:18:53
评测时间
2022-03-30 11:18:53
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes