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 6ms 708.0 KiB
#5 Accepted 20ms 824.0 KiB
#6 Accepted 31ms 852.0 KiB
#7 Accepted 27ms 844.0 KiB
#8 Accepted 64ms 840.0 KiB
#9 Accepted 61ms 852.0 KiB
#10 Accepted 424ms 11.371 MiB

信息

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