记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:6:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
    6 |         freopen("b.in","r",stdin);
      |         ~~~~~~~^~~~~~~~~~~~~~~~~~
foo.cc:7:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
    7 |         freopen("b.out","w",stdout);
      |         ~~~~~~~^~~~~~~~~~~~~~~~~~~~
foo.cc:18:22: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
   18 |                 scanf("%lld",&t);
      |                 ~~~~~^~~~~~~~~~~
Found 10 testcases.
# 状态 耗时 内存占用
#1 Accepted 4ms 6.344 MiB
#2 Accepted 5ms 6.379 MiB
#3 Accepted 3ms 6.344 MiB
#4 Accepted 3ms 6.379 MiB
#5 Accepted 5ms 6.379 MiB
#6 Accepted 7ms 6.344 MiB
#7 Accepted 28ms 6.344 MiB
#8 Accepted 31ms 6.379 MiB
#9 Accepted 67ms 6.344 MiB
#10 Accepted 69ms 6.379 MiB
您没有权限查看该代码,完成本题后再来查看

信息

递交者
类型
递交模式
题目
P6852 立方根 (b)
语言
C++14
递交时间
2024-04-21 12:31:22
评测时间
2024-04-21 12:31:22
评测机
分数
100
总耗时
227ms
峰值内存
6.379 MiB