/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void dfs(int, int)':
/in/foo.cc:12:13: warning: array subscript has type 'char' [-Wchar-subscripts]
  if(num[a[i]]!=-1&&num[b[i]]!=-1&&num[c[i]]!=-1){
             ^
/in/foo.cc:12:28: warning: array subscript has type 'char' [-Wchar-subscripts]
  if(num[a[i]]!=-1&&num[b[i]]!=-1&&num[c[i]]!=-1){
                            ^
/in/foo.cc:12:43: warning: array subscript has type 'char' [-Wchar-subscripts]
  if(num[a[i]]!=-1&&num[b[i]]!=-1&&num[c[i]]!=-1){
                                           ^
/in/foo.cc:13:17: warning: array subscript has type 'char' [-Wchar-subscripts]
   int p=num[a[i]]+num[b[i]]+jw;
                 ^
/in/foo.cc:13:27: warning: array subscript has type 'char' [-Wchar-subscripts]
   int p=num[a[i]]+num[b[i]]+jw;
                           ^
/in/foo.cc:14:19: warning: array subscript has type 'char' [-Wchar-subscripts]
   if(p%n==num[c[i]]){
                   ^
/in/foo.cc:19:13: warning: array subscript has type 'char' [-Wchar-subscripts]
  if(num[a[i]]!=-1&&num[b[i]]!=-1){
             ^
/in/foo.cc:19:28: warning: array subscript has type 'char' [-Wchar-subscripts]
  if(num[a[i]]!=-1&&num[b[i]]!=-1){
                            ^
/in/foo.cc:20:17: warning: array subscript has type 'char' [-Wchar-subscripts]
   int p=num[a[i]]+num[b[i]]+jw;
                 ^
/in/foo.cc:20:27: warning: array subscript has type 'char' [-Wchar-subscripts]
   int p=num[a[i]]+num[b[i]]+jw;
                           ^
/in/foo.cc:23:12: warning: array subscript has type 'char' [-Wchar-subscripts]
    num[c[i]]=p%n;
            ^
/in/foo.cc:25:12: warning: array subscript has type 'char' [-Wchar-subscripts]
    num[c[i]]=-1;
            ^
/in/foo.cc:30:13: warning: array subscript has type 'char' [-Wchar-subscripts]
  if(num[a[i]]!=-1&&num[c[i]]!=-1){
             ^
/in/foo.cc:30:28: warning: array subscript has type 'char' [-Wchar-subscripts]
  if(num[a[i]]!=-1&&num[c[i]]!=-1){
                            ^
/in/foo.cc:31:17: warning: array subscript has type 'char' [-Wchar-subscripts]
   int p=num[c[i]]-jw-num[a[i]]+n;
                 ^
/in/foo.cc:31:30: warning: array subscript has type 'char' [-Wchar-subscripts]
   int p=num[c[i]]-jw-num[a[i]]+n;
                              ^
/in/foo.cc:34:12: warning: array subscript has type 'char' [-Wchar-subscripts]
    num[b[i]]=p%n;
            ^
/in/foo.cc:36:12: warning: array subscript has type 'char' [-Wchar-subscripts]
    num[b[i]]=-1;
            ^
/in/foo.cc:41:13: warning: array subscript has type 'char' [-Wchar-subscripts]
  if(num[b[i]]!=-1&&num[c[i]]!=-1){
             ^
/in/foo.cc:41:28: warning: array subscript has type 'char' [-Wchar-subscripts]
  if(num[b[i]]!=-1&&num[c[i]]!=-1){
                            ^
/in/foo.cc:42:17: warning: array subscript has type 'char' [-Wchar-subscripts]
   int p=num[c[i]]-jw-num[b[i]]+n;
                 ^
/in/foo.cc:42:30: warning: array subscript has type 'char' [-Wchar-subscripts]
   int p=num[c[i]]-jw-num[b[i]]+n;
                              ^
/in/foo.cc:45:12: warning: array subscript has type 'char' [-Wchar-subscripts]
    num[a[i]]=p%n;
            ^
/in/foo.cc:47:12: warning: array subscript has type 'char' [-Wchar-subscripts]
    num[a[i]]=-1;
            ^
/in/foo.cc:52:13: warning: array subscript has type 'char' [-Wchar-subscripts]
  if(num[a[i]]!=-1){
             ^
/in/foo.cc:56:12: warning: array subscript has type 'char' [-Wchar-subscripts]
    num[b[i]]=j;
            ^
/in/foo.cc:58:12: warning: array subscript has type 'char' [-Wchar-subscripts]
    num[b[i]]=-1;
            ^
/in/foo.cc:65:12: warning: array subscript has type 'char' [-Wchar-subscripts]
    num[a[i]]=j;
            ^
/in/foo.cc:67:12: warning: array subscript has type 'char' [-Wchar-subscripts]
    num[a[i]]=-1;
            ^
# 状态 耗时 内存占用
#1 Accepted 3ms 368.0 KiB
#2 Accepted 3ms 384.0 KiB
#3 Accepted 2ms 256.0 KiB
#4 Accepted 3ms 384.0 KiB
#5 Accepted 6ms 384.0 KiB
#6 Accepted 4ms 372.0 KiB
#7 Accepted 12ms 356.0 KiB
#8 Accepted 4ms 356.0 KiB
#9 Accepted 532ms 376.0 KiB
#10 Accepted 2ms 364.0 KiB

信息

递交者
类型
递交
题目
P1099 虫食算
语言
C++
递交时间
2018-05-11 20:11:24
评测时间
2018-05-11 20:11:24
评测机
分数
100
总耗时
575ms
峰值内存
384.0 KiB