记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:25:15: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[10005]' [-Wformat=]
  scanf("%s",&c);
               ^
/in/foo.cc:32:14: warning: array subscript has type 'char' [-Wchar-subscripts]
    ++noo[c[j]];
              ^
/in/foo.cc:35:14: warning: array subscript has type 'char' [-Wchar-subscripts]
    ++noo[c[j]];
              ^
/in/foo.cc:23:22: warning: unused variable 'm1' [-Wunused-variable]
  int n,i,j,ans=0,tmp,m1,m2,sk;
                      ^~
/in/foo.cc:23:25: warning: unused variable 'm2' [-Wunused-variable]
  int n,i,j,ans=0,tmp,m1,m2,sk;
                         ^~
# 状态 耗时 内存占用
#1 Accepted 1ms 204.0 KiB
#2 Accepted 1ms 228.0 KiB
#3 Accepted 1ms 216.0 KiB
#4 Accepted 8ms 300.0 KiB
#5 Time Exceeded ≥1000ms ≥208.0 KiB
#6 Time Exceeded ≥1003ms ≥212.0 KiB
#7 Runtime Error 1ms 208.0 KiB
#8 Runtime Error 1ms 208.0 KiB
#9 Runtime Error 1ms 208.0 KiB
#10 Runtime Error 1ms 204.0 KiB

信息

递交者
类型
递交
题目
P1084 吃货的烦恼
语言
C++
递交时间
2020-12-01 17:24:26
评测时间
2020-12-01 17:24:26
评测机
分数
40
总耗时
2023ms
峰值内存
300.0 KiB