记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:18: error: 'scanf_s' was not declared in this scope
  scanf_s("%d", &n);
                  ^
/in/foo.cc:23:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for (int i = 0; i < n-1; i++)
  ^~~
/in/foo.cc:31:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   set<int>::iterator it = nums.end();
   ^~~

信息

递交者
类型
自测
题目
序列之争3
语言
C++
递交时间
2019-01-22 11:16:25
评测时间
2019-01-22 11:16:25
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes