记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:9:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
    9 |     freopen("d.in", "r", stdin);
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~
foo.cc:10:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
   10 |     freopen("d.out", "w", stdout);
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
Found 10 testcases.
# 状态 耗时 内存占用
#1 Accepted 1ms 6.594 MiB
#2 Accepted 1ms 6.523 MiB
#3 Accepted 1ms 6.594 MiB
#4 Accepted 1ms 6.531 MiB
#5 Accepted 1ms 6.602 MiB
#6 Accepted 1ms 6.613 MiB
#7 Accepted 1ms 6.543 MiB
#8 Accepted 10ms 15.004 MiB
#9 Accepted 60ms 83.367 MiB
#10 Accepted 66ms 83.375 MiB
您没有权限查看该代码,完成本题后再来查看

信息

递交者
类型
递交模式
题目
P6854 计数 (d)
语言
C++14
递交时间
2024-04-19 09:49:39
评测时间
2024-04-19 09:51:29
评测机
分数
100
总耗时
149ms
峰值内存
83.375 MiB