/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void read(int&)':
/in/foo.cc:9:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(;c>='0'&&c<='9';c=getchar()) a=(a<<1)+(a<<3)+c-'0'; a=f?a:-a;
  ^~~
/in/foo.cc:9:58: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(;c>='0'&&c<='9';c=getchar()) a=(a<<1)+(a<<3)+c-'0'; a=f?a:-a;
                                                          ^
/in/foo.cc: In function 'void print(int)':
/in/foo.cc:12:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if(!x) putchar('0'); if(x<0) putchar('-'),x=-x; ri qr=0;
  ^~
/in/foo.cc:12:23: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  if(!x) putchar('0'); if(x<0) putchar('-'),x=-x; ri qr=0;
                       ^~
# 状态 耗时 内存占用
#1 Accepted 5ms 768.0 KiB
#2 Accepted 21ms 640.0 KiB
#3 Accepted 4ms 784.0 KiB
#4 Accepted 4ms 632.0 KiB
#5 Accepted 3ms 632.0 KiB
#6 Accepted 17ms 768.0 KiB
#7 Accepted 10ms 736.0 KiB
#8 Accepted 5ms 768.0 KiB
#9 Accepted 78ms 1.102 MiB
#10 Accepted 105ms 748.0 KiB

信息

递交者
类型
递交
题目
P1049 送给圣诞夜的礼品
语言
C++
递交时间
2018-08-01 17:38:28
评测时间
2018-08-01 17:38:28
评测机
分数
100
总耗时
255ms
峰值内存
1.102 MiB