/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:14:22: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[110]' [-Wformat=]
  scanf("%s", &getCode);
              ~~~~~~~~^
foo.cc:16:19: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[110]' [-Wformat=]
  scanf("%s", &text);
              ~~~~~^
foo.cc:32:19: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1000000]' [-Wformat=]
  scanf("%s", &Code);
              ~~~~~^
foo.cc:14:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%s", &getCode);
  ~~~~~^~~~~~~~~~~~~~~~
foo.cc:16:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%s", &text);
  ~~~~~^~~~~~~~~~~~~
foo.cc:32:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%s", &Code);
  ~~~~~^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read A, expect Failed. 0ms 256.0 KiB
#2 Accepted 0ms 256.0 KiB
#3 Wrong Answer Read HIJACK, expect Failed. 0ms 256.0 KiB
#4 Accepted 0ms 256.0 KiB
#5 Accepted 0ms 256.0 KiB
#6 Accepted 0ms 256.0 KiB
#7 Accepted 0ms 256.0 KiB
#8 Accepted 0ms 256.0 KiB
#9 Accepted 0ms 256.0 KiB
#10 Accepted 0ms 256.0 KiB

信息

递交者
类型
递交
题目
P1752 潜伏者
语言
C++
递交时间
2021-10-17 20:38:32
评测时间
2021-10-17 20:38:32
评测机
分数
80
总耗时
7ms
峰值内存
256.0 KiB