Accepted

foo.cc: In function 'int main(int, const char**)':
foo.cc:7:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ~~~~~^~~~~~~~~
foo.cc:9:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&val),mp[val]++;
   ~~~~~~~~~~~~~~~~^~~~~~~~~~
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 11ms 680.0 KiB
#5 Accepted 32ms 820.0 KiB
#6 Accepted 41ms 860.0 KiB
#7 Accepted 36ms 824.0 KiB
#8 Accepted 72ms 840.0 KiB
#9 Accepted 73ms 852.0 KiB
#10 Accepted 639ms 11.391 MiB

信息

递交者
类型
递交
题目
P1015 统计数字
语言
C++
递交时间
2021-09-22 11:30:48
评测时间
2021-09-22 11:48:28
评测机
分数
100
总耗时
913ms
峰值内存
11.391 MiB