/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:24:20: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
  scanf("%d%d",&m,&n);
               ~~   ^
foo.cc:24:20: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
foo.cc:28:20: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
   scanf("%d",&ch[i]);
              ~~~~~~^
foo.cc:31:17: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
  printf("%d",tot);
                 ^
foo.cc:24:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d",&m,&n);
  ~~~~~^~~~~~~~~~~~~~
foo.cc:28:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&ch[i]);
   ~~~~~^~~~~~~~~~~~~

自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
正在同步测试数据,请稍后
{"receive":"2020-07-12T05:01:41.417Z","handle":"2020-07-12T05:01:41.444Z","cache_start":"2020-07-12T05:01:41.558Z","read_cases":"2020-07-12T05:01:42.538Z","judge":"2020-07-12T05:01:42.548Z","done":"2020-07-12T05:01:43.317Z"}
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Accepted 1ms 256.0 KiB
#3 Accepted 1ms 256.0 KiB
#4 Accepted 1ms 256.0 KiB
#5 Accepted 1ms 256.0 KiB
#6 Accepted 1ms 256.0 KiB
#7 Accepted 1ms 256.0 KiB
#8 Accepted 1ms 256.0 KiB
#9 Accepted 1ms 256.0 KiB
#10 Accepted 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1774 机器翻译
语言
C++
递交时间
2020-07-12 13:01:41
评测时间
2020-07-12 13:01:41
评测机
分数
100
总耗时
12ms
峰值内存
256.0 KiB