/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'long int parse_infix(char*, long long int*, char*)':
/in/foo.cc:73:22: warning: array subscript has type 'char' [-Wchar-subscripts]
    while (tabe[str[i]]<=tabe[stack[j]])
                      ^
/in/foo.cc:73:38: warning: array subscript has type 'char' [-Wchar-subscripts]
    while (tabe[str[i]]<=tabe[stack[j]])
                                      ^
/in/foo.cc:52:11: warning: unused variable 'k' [-Wunused-variable]
  long i,j,k;
           ^
/in/foo.cc: In function 'void format(char*)':
/in/foo.cc:99:7: warning: unused variable 'i' [-Wunused-variable]
  long i,j,k,l,a,b,c;
       ^
/in/foo.cc:99:9: warning: unused variable 'j' [-Wunused-variable]
  long i,j,k,l,a,b,c;
         ^
/in/foo.cc:99:11: warning: unused variable 'k' [-Wunused-variable]
  long i,j,k,l,a,b,c;
           ^
/in/foo.cc:99:15: warning: unused variable 'a' [-Wunused-variable]
  long i,j,k,l,a,b,c;
               ^
/in/foo.cc:99:17: warning: unused variable 'b' [-Wunused-variable]
  long i,j,k,l,a,b,c;
                 ^
/in/foo.cc:99:19: warning: unused variable 'c' [-Wunused-variable]
  long i,j,k,l,a,b,c;
                   ^
/in/foo.cc: In function 'void calc(long long int*, long long int*, long long int*)':
/in/foo.cc:108:13: warning: unused variable 'a' [-Wunused-variable]
  long i,j,k,a,b,c;
             ^
/in/foo.cc:108:15: warning: unused variable 'b' [-Wunused-variable]
  long i,j,k,a,b,c;
               ^
/in/foo.cc:108:17: warning: unused variable 'c' [-Wunused-variable]
  long i,j,k,a,b,c;
                 ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:188:38: warning: format '%c' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
    if (j>*prime) {printf("%c",'A'+i-1);}
                                      ^
/in/foo.cc:151:11: warning: unused variable 'k' [-Wunused-variable]
  long i,j,k,a,b,c,n;
           ^
/in/foo.cc:151:13: warning: unused variable 'a' [-Wunused-variable]
  long i,j,k,a,b,c,n;
             ^
/in/foo.cc:151:15: warning: unused variable 'b' [-Wunused-variable]
  long i,j,k,a,b,c,n;
               ^
/in/foo.cc:151:17: warning: unused variable 'c' [-Wunused-variable]
  long i,j,k,a,b,c,n;
                 ^
# 状态 耗时 内存占用
#1 Accepted 2ms 372.0 KiB
#2 Accepted 3ms 264.0 KiB
#3 Accepted 3ms 356.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 3ms 340.0 KiB
#6 Accepted 3ms 384.0 KiB
#7 Accepted 3ms 384.0 KiB
#8 Accepted 3ms 352.0 KiB
#9 Accepted 3ms 364.0 KiB
#10 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1003 等价表达式
语言
C++
递交时间
2018-03-25 15:52:20
评测时间
2018-03-25 15:52:20
评测机
分数
100
总耗时
32ms
峰值内存
384.0 KiB