/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:133:17: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1000009]' [-Wformat=]
    scanf("%s",&s);
                 ^
/in/foo.cc:142:15: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1000009]' [-Wformat=]
  scanf("%s",&s);
               ^
/in/foo.cc:177:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   printf("%d\n",ans);
                    ^
# 状态 耗时 内存占用
#1 Runtime Error 48ms 30.25 MiB
#2 Runtime Error 35ms 32.457 MiB
#3 Runtime Error 38ms 32.375 MiB
#4 Runtime Error 59ms 34.914 MiB

信息

递交者
类型
递交
题目
P1995 模式字符串
语言
C++
递交时间
2017-05-12 14:54:26
评测时间
2017-05-12 14:54:26
评测机
分数
0
总耗时
182ms
峰值内存
34.914 MiB