/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:68:26: warning: unused variable 'flag' [-Wunused-variable]
                     bool flag=1;
                          ^~~~
/in/foo.cc:97:34: warning: array subscript has type 'char' [-Wchar-subscripts]
                         if(pri[ch]<pri[str[i]] || ch=='(') 
                                  ^
/in/foo.cc:97:46: warning: array subscript has type 'char' [-Wchar-subscripts]
                         if(pri[ch]<pri[str[i]] || ch=='(') 
                                              ^
/in/foo.cc:130:43: warning: format '%c' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
         if(j && k==11) printf("%c",j+'A'-1);
                                    ~~~~~~~^
# 状态 耗时 内存占用
#1 Accepted 2ms 320.0 KiB
#2 Accepted 1ms 312.0 KiB
#3 Accepted 2ms 320.0 KiB
#4 Accepted 1ms 312.0 KiB
#5 Accepted 1ms 320.0 KiB
#6 Accepted 1ms 316.0 KiB
#7 Accepted 1ms 316.0 KiB
#8 Accepted 1ms 316.0 KiB
#9 Accepted 1ms 316.0 KiB
#10 Accepted 1ms 320.0 KiB

信息

递交者
类型
递交
题目
P1003 等价表达式
语言
C++
递交时间
2017-09-24 14:48:55
评测时间
2017-09-24 14:48:55
评测机
分数
100
总耗时
18ms
峰值内存
320.0 KiB