QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#372417 | #6747. Permutation | Qian# | Compile Error | / | / | C++14 | 417b | 2024-03-31 13:13:52 | 2024-03-31 13:13:53 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
#define rep(i, a, b) for (int i = a; i <= b; i++)
#define pii pair<int, int>
const int N = 1e6 + 10;
int n, a[N],b[N];
int sum[N];
void solve()
{
ll n;
cin >> n;
for(int i = 1; i <= n; i++)
{
cout << i << " ";
}
}
signed main()
{
ios::sync_with_stdio(false);
cin.tie(0);cout.tie(0);
int _ = 1;
while (_--)
solve();
return 0;
}
详细
answer.code: In function ‘void solve()’: answer.code:11:9: error: ‘ll’ was not declared in this scope 11 | ll n; | ^~