/ WHOJ /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:35:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
   35 |  freopen("game.in","r",stdin);
      |  ~~~~~~~^~~~~~~~~~~~~~~~~~~~~
foo.cc:36:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
   36 |  freopen("game.out","w",stdout);
      |  ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
foo.cc:37:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   37 |  scanf("%d",&t);
      |  ~~~~~^~~~~~~~~
foo.cc:44:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   44 |     scanf("%d",&mp[i][j]);
      |     ~~~~~^~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 10ms 4.125 MiB
#2 Accepted 8ms 4.125 MiB
#3 Accepted 13ms 4.125 MiB
#4 Accepted 13ms 4.125 MiB
#5 Accepted 10ms 4.125 MiB
#6 Accepted 10ms 4.125 MiB
#7 Accepted 9ms 4.125 MiB
#8 Accepted 8ms 4.125 MiB
#9 Accepted 10ms 4.25 MiB
#10 Accepted 12ms 4.25 MiB

信息

递交者
类型
递交
题目
P1458 方格游戏(文件IO)
题目数据
下载
语言
C++
递交时间
2022-08-04 15:45:21
评测时间
2022-08-04 21:42:47
评测机
分数
100
总耗时
107ms
峰值内存
4.25 MiB