记录详情

Wrong Answer

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

信息

递交者
类型
递交模式
题目
P6852 立方根 (b)
语言
C++14
递交时间
2024-04-19 11:28:56
评测时间
2024-04-19 11:28:56
评测机
分数
70
总耗时
165ms
峰值内存
6.402 MiB