Submission #649378

#TimeUsernameProblemLanguageResultExecution timeMemory
649378DangerNoodle7591Binary Subsequences (info1cup17_binary)C++17
0 / 100
1 ms340 KiB
#include <iostream> using namespace std; int main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); int t;cin>>t; int arr[12]; arr[0]=1; for(int i=1;i<12;i++){ arr[i]=arr[i-1]*2; } while(t--){ int x;cin>>x; if(x<=2){ cout<<2<<"\n"<<-1<<"\n"; } else cout<<4<<"\n"<<-1<<"\n"; } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...