/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:10:13: warning: 'c' is used uninitialized in this function [-Wuninitialized]
  while(c<'0'||c>'9'){if(c=='-')f=-1;c=getchar();}
        ~~~~~^~~~~~~
/in/foo.cc:9:21: note: 'c' was declared here
  int f=1,ans=0;char c;
                     ^
/in/foo.cc:9:21: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
/in/foo.cc:10:13: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
  while(c<'0'||c>'9'){if(c=='-')f=-1;c=getchar();}
        ~~~~~^~~~~~~
/in/foo.cc:9:21: note: 'c' was declared here
  int f=1,ans=0;char c;
                     ^
# 状态 耗时 内存占用
#1 Accepted 4ms 4.375 MiB
#2 Accepted 4ms 4.375 MiB
#3 Accepted 4ms 4.25 MiB
#4 Accepted 5ms 2.336 MiB
#5 Accepted 5ms 4.25 MiB
#6 Accepted 7ms 4.371 MiB
#7 Accepted 40ms 7.367 MiB
#8 Accepted 86ms 8.777 MiB
#9 Accepted 102ms 8.625 MiB
#10 Accepted 64ms 8.715 MiB

信息

递交者
类型
递交
题目
P1476 旅游规划(csapc)
语言
C++
递交时间
2018-08-15 19:29:59
评测时间
2018-08-15 19:29:59
评测机
分数
100
总耗时
326ms
峰值内存
8.777 MiB