/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In member function 'Fw<T>& Fw<T>::operator,(int)':
/in/foo.cc:51:67: warning: array subscript has type 'char' [-Wchar-subscripts]
 #define WI(S) if(x){if(x<0)P('-'),x=-x;char s[S],c=0;while(x)s[c++]=x%10+'0',x/=10;while(c--)P(s[c]);}else P('0')
                                                                   ^
/in/foo.cc:55:51: note: in expansion of macro 'WI'
 template<typename T>struct Fw{T P;I Fw&OP,(int x){WI(10);RT}I Fw&OP()(int x){WI(10);RT}I Fw&OP,(uint x){WU(10);RT}
                                                   ^~
/in/foo.cc:51:99: warning: array subscript has type 'char' [-Wchar-subscripts]
 #define WI(S) if(x){if(x<0)P('-'),x=-x;char s[S],c=0;while(x)s[c++]=x%10+'0',x/=10;while(c--)P(s[c]);}else P('0')
                                                                                                   ^
/in/foo.cc:55:51: note: in expansion of macro 'WI'
 template<typename T>struct Fw{T P;I Fw&OP,(int x){WI(10);RT}I Fw&OP()(int x){WI(10);RT}I Fw&OP,(uint x){WU(10);RT}
                                                   ^~
/in/foo.cc: In member function 'Fw<T>& Fw<T>::operator()(int)':
/in/foo.cc:51:67: warning: array subscript has type 'char' [-Wchar-subscripts]
 #define WI(S) if(x){if(x<0)P('-'),x=-x;char s[S],c=0;while(x)s[c++]=x%10+'0',x/=10;while(c--)P(s[c]);}else P('0')
                                                                   ^
/in/foo.cc:55:78: note: in expansion of macro 'WI'
 template<typename T>struct Fw{T P;I Fw&OP,(int x){WI(10);RT}I Fw&OP()(int x){WI(10);RT}I Fw&OP,(uint x){WU(10);RT}
                                                                              ^~
/in/foo.cc:51:99: warning: array subscript has type 'char' [-Wchar-subscripts]
 #define WI(S) if(x){if(x<0)P('-'),x=-x;char s[S],c=0;while(x)s[c++]=x%10+'0',x/=10;while(c--)P(s[c]);}else P('0')
                                                                                                   ^
/in/foo.cc:55:78: note: in expansion of macro 'WI'
 template<typename T>struct Fw{T P;I Fw&OP,(int x){WI(10);RT}I Fw&OP()(int x){WI(10);RT}I Fw&OP,(uint x){WU(10);RT}
                                                                              ^~
/in/foo.cc: In member function 'Fw<T>& Fw<T>::operator,(uint)':
/in/foo.cc:54:48: warning: array subscript has type 'char' [-Wchar-subscripts]
 #define WU(S) if(x){char s[S],c=0;while(x)s[c++]=x%10+'0',x/=10;while(c--)P(s[c]);}else P('0')
                                                ^
/in/foo.cc:55:105: note: in expansion of macro 'WU'
 template<typename T>struct Fw{T P;I Fw&OP,(int x){WI(10);RT}I Fw&OP()(int x){WI(10);RT}I Fw&OP,(uint x){WU(10);RT}
                                                                                                         ^~
/in/foo.cc:54:80: warning: array subscript has type 'char' [-Wchar-subscripts]
 #define WU(S) if(x){char s[S],c=0;while(x)s[c++]=x%10+'0',x/=10;while(c--)P(s[c]);}else P('0')
                                                                                ^
/in/foo.cc:55:105: note: in expansion of macro 'WU'
 template<typename T>struct Fw{T P;I Fw&OP,(int x){WI(10);RT}I Fw&OP()(int x){WI(10);RT}I Fw&OP,(uint x){WU(10);RT}
                                                                                                         ^~
/in/foo.cc: In member function 'Fw<T>& Fw<T>::operator()(uint)':
/in/foo.cc:54:48: warning: array subscript has type 'char' [-Wchar-subscripts]
 #define WU(S) if(x){char s[S],c=0;while(x)s[c++]=x%10+'0',x/=10;while(c--)P(s[c]);}else P('0')
                                                ^
/in/foo.cc:56:19: note: in expansion of macro 'WU'
 I Fw&OP()(uint x){WU(10);RT}I Fw&OP,(ll x){WI(19);RT}I Fw&OP()(ll x){WI(19);RT}I Fw&OP,(ull x){WU(20);RT}I Fw&OP()
                   ^~
/in/foo.cc:54:80: warning: array subscript has type 'char' [-Wchar-subscripts]
 #define WU(S) if(x){char s[S],c=0;while(x)s[c++]=x%10+'0',x/=10;while(c--)P(s[c]);}else P('0')
                                                                                ^
/in/foo.cc:56:19: note: in expansion of macro 'WU'
 I Fw&OP()(uint x){WU(10);RT}I Fw&OP,(ll x){WI(19);RT}I Fw&OP()(ll x){WI(19);RT}I Fw&OP,(ull x){WU(20);RT}I Fw&OP()
                   ^~
/in/foo.cc: In member function 'Fw<T>& Fw<T>::operator,(ll)':
/in/foo.cc:51:67: warning: array subscript has type 'char' [-Wchar-subscripts]
 #define WI(S) if(x){if(x<0)P('-'),x=-x;char s[S],c=0;while(x)s[c++]=x%10+'0',x/=10;while(c--)P(s[c]);}else P('0')
                                                                   ^
/in/foo.cc:56:44: note: in expansion of macro 'WI'
 I Fw&OP()(uint x){WU(10);RT}I Fw&OP,(ll x){WI(19);RT}I Fw&OP()(ll x){WI(19);RT}I Fw&OP,(ull x){WU(20);RT}I Fw&OP()
                                            ^~
/in/foo.cc:51:99: warning: array subscript has type 'char' [-Wchar-subscripts]
 #define WI(S) if(x){if(x<0)P('-'),x=-x;char s[S],c=0;while(x)s[c++]=x%10+'0',x/=10;while(c--)P(s[c]);}else P('0')
                                                                                                   ^
/in/foo.cc:56:44: note: in expansion of macro 'WI'
 I Fw&OP()(uint x){WU(10);RT}I Fw&OP,(ll x){WI(19);RT}I Fw&OP()(ll x){WI(19);RT}I Fw&OP,(ull x){WU(20);RT}I Fw&OP()
                                            ^~
/in/foo.cc: In member function 'Fw<T>& Fw<T>::operator()(ll)':
/in/foo.cc:51:67: warning: array subscript has type 'char' [-Wchar-subscripts]
 #define WI(S) if(x){if(x<0)P('-'),x=-x;char s[S],c=0;while(x)s[c++]=x%10+'0',x/=10;while(c--)P(s[c]);}else P('0')
                                                                   ^
/in/foo.cc:56:70: note: in expansion of macro 'WI'
 I Fw&OP()(uint x){WU(10);RT}I Fw&OP,(ll x){WI(19);RT}I Fw&OP()(ll x){WI(19);RT}I Fw&OP,(ull x){WU(20);RT}I Fw&OP()
                                                                      ^~
/in/foo.cc:51:99: warning: array subscript has type 'char' [-Wchar-subscripts]
 #define WI(S) if(x){if(x<0)P('-'),x=-x;char s[S],c=0;while(x)s[c++]=x%10+'0',x/=10;while(c--)P(s[c]);}else P('0')
                                                                                                   ^
/in/foo.cc:56:70: note: in expansion of macro 'WI'
 I Fw&OP()(uint x){WU(10);RT}I Fw&OP,(ll x){WI(19);RT}I Fw&OP()(ll x){WI(19);RT}I Fw&OP,(ull x){WU(20);RT}I Fw&OP()
                                                                      ^~
/in/foo.cc: In member function 'Fw<T>& Fw<T>::operator,(ull)':
/in/foo.cc:54:48: warning: array subscript has type 'char' [-Wchar-subscripts]
 #define WU(S) if(x){char s[S],c=0;while(x)s[c++]=x%10+'0',x/=10;while(c--)P(s[c]);}else P('0')
                                                ^
/in/foo.cc:56:96: note: in expansion of macro 'WU'
 I Fw&OP()(uint x){WU(10);RT}I Fw&OP,(ll x){WI(19);RT}I Fw&OP()(ll x){WI(19);RT}I Fw&OP,(ull x){WU(20);RT}I Fw&OP()
                                                                                                ^~
/in/foo.cc:54:80: warning: array subscript has type 'char' [-Wchar-subscripts]
 #define WU(S) if(x){char s[S],c=0;while(x)s[c++]=x%10+'0',x/=10;while(c--)P(s[c]);}else P('0')
                                                                                ^
/in/foo.cc:56:96: note: in expansion of macro 'WU'
 I Fw&OP()(uint x){WU(10);RT}I Fw&OP,(ll x){WI(19);RT}I Fw&OP()(ll x){WI(19);RT}I Fw&OP,(ull x){WU(20);RT}I Fw&OP()
                                                                                                ^~
/in/foo.cc: In member function 'Fw<T>& Fw<T>::operator()(ull)':
/in/foo.cc:54:48: warning: array subscript has type 'char' [-Wchar-subscripts]
 #define WU(S) if(x){char s[S],c=0;while(x)s[c++]=x%10+'0',x/=10;while(c--)P(s[c]);}else P('0')
                                                ^
/in/foo.cc:57:9: note: in expansion of macro 'WU'
 (ull x){WU(20);RT}I Fw&OP,(char x){P(x);RT}I Fw&OP()(char x){P(x);RT}I Fw&OP,(const char *x){while(*x)P(*x++);RT}
         ^~
/in/foo.cc:54:80: warning: array subscript has type 'char' [-Wchar-subscripts]
 #define WU(S) if(x){char s[S],c=0;while(x)s[c++]=x%10+'0',x/=10;while(c--)P(s[c]);}else P('0')
                                                                                ^
/in/foo.
# 状态 耗时 内存占用
#1 Runtime Error 4ms 2.375 MiB
#2 Runtime Error 6ms 2.371 MiB
#3 Runtime Error 4ms 2.352 MiB
#4 Runtime Error 4ms 2.355 MiB
#5 Runtime Error 4ms 2.34 MiB
#6 Runtime Error 6ms 2.25 MiB
#7 Runtime Error 4ms 2.25 MiB
#8 Runtime Error 7ms 2.387 MiB
#9 Runtime Error 4ms 2.215 MiB
#10 Runtime Error 4ms 2.344 MiB

信息

递交者
类型
递交
题目
P2014 树点涂色
语言
C++
递交时间
2017-11-08 21:14:29
评测时间
2017-11-08 21:14:29
评测机
分数
0
总耗时
53ms
峰值内存
2.387 MiB