QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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;
}
Details
answer.code: In function ‘void solve()’: answer.code:11:9: error: ‘ll’ was not declared in this scope 11 | ll n; | ^~