/ OPS /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:18:19: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
   18 |         if (m & 1 == 1) {
      |                 ~~^~~~
/in/foo.cc:8:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    8 |     scanf("%d", &n);
      |     ~~~~~^~~~~~~~~~
/in/foo.cc:10:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   10 |         scanf("%d", &m);
      |         ~~~~~^~~~~~~~~~
/in/foo.cc:13:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   13 |                 scanf("%d", &matrix[i][j]);
      |                 ~~~~~^~~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 356.0 KiB

信息

递交者
类型
递交
比赛
2024_2025(1)C0023实验7+李强老师班级
语言
C++
递交时间
2024-12-22 18:37:35
评测时间
2024-12-22 19:12:41
评测机
分数
10
总耗时
3ms
峰值内存
356.0 KiB