Compile Error

/in/foo.cc:7:7: error: 'N' was not declared in this scope
 int s[N];
       ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:12:40: error: 's' was not declared in this scope
  for (int i = 1; i <= n; i ++ ) cin >> s[i];
                                        ^
/in/foo.cc:13:7: error: 's' was not declared in this scope
  sort(s + 1, s + n + 1);
       ^

信息

递交者
类型
自测
题目
P2449 第二小的数
语言
C++
递交时间
2024-01-06 22:58:36
评测时间
2024-01-06 22:58:36
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes