/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int rd()':
/in/foo.cc:9:2: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  while((c<'0'||c>'9')&&c!='-')c=getchar();if(c=='-')ntv=true;else x=(c^48);c=getchar();
  ^~~~~
/in/foo.cc:9:43: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
  while((c<'0'||c>'9')&&c!='-')c=getchar();if(c=='-')ntv=true;else x=(c^48);c=getchar();
                                           ^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:18:29: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
  bool l=!(k%2);int f,s,c=cnt-k+1;
                          ~~~^~
# 状态 耗时 内存占用
#1 Accepted 2ms 228.0 KiB
#2 Accepted 2ms 224.0 KiB
#3 Accepted 2ms 224.0 KiB
#4 Accepted 1ms 228.0 KiB
#5 Accepted 1ms 220.0 KiB

信息

递交者
类型
递交
题目
P1333 Cantor表
语言
C++
递交时间
2021-02-08 02:41:50
评测时间
2021-02-08 02:41:50
评测机
分数
100
总耗时
10ms
峰值内存
228.0 KiB