Submission #649393

#TimeUsernameProblemLanguageResultExecution timeMemory
649393azra_gonulBinary Subsequences (info1cup17_binary)C++14
0 / 100
375 ms20320 KiB
#include<bits/stdc++.h> using namespace std; int main(){ long long a,b,c,d; vector <long long> herk; long long arr[16]={1,2,4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384}; cin>>a; for(long long i=0;a>i;i++){ cin>>b; cout<<"-1"<<"\n"; for(long long g=0;b>g;g++){ cout<<"1 "; } cout<<"\n"; } }

Compilation message (stderr)

binary.cpp: In function 'int main()':
binary.cpp:4:16: warning: unused variable 'c' [-Wunused-variable]
    4 |  long long a,b,c,d;
      |                ^
binary.cpp:4:18: warning: unused variable 'd' [-Wunused-variable]
    4 |  long long a,b,c,d;
      |                  ^
binary.cpp:6:12: warning: unused variable 'arr' [-Wunused-variable]
    6 |  long long arr[16]={1,2,4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384};
      |            ^~~
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...