QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#786690 | #7054. Fibonacci Sequence | wifi32767 | AC ✓ | 0ms | 3572kb | C++20 | 503b | 2024-11-26 22:52:45 | 2024-11-26 22:52:47 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
// #define int ll
#define endl '\n'
#define yes cout << "YES" << endl
#define no cout << "NO" << endl
const int MAX = 3e4 + 5, mod = 1e9 + 7;
int n;
void solve(){
bitset<MAX> a("00110011");
bitset<MAX> b;
for (int i = 0; i < MAX; i ++) b |= a;
(void*) &b;
cout << "1 1 2 3 5";
}
signed main(){
ios::sync_with_stdio(0);cin.tie(0);cout.tie(0);
// int T=1;cin>>T;while(T--)
solve();
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3572kb
input:
output:
1 1 2 3 5
result:
ok single line: '1 1 2 3 5'