Submission #649393

# Submission time Handle Problem Language Result Execution time Memory
649393 2022-10-10T07:23:15 Z azra_gonul Binary Subsequences (info1cup17_binary) C++14
0 / 100
375 ms 20320 KB
#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

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 time Memory Grader output
1 Incorrect 67 ms 4264 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 17 ms 1324 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 375 ms 20320 KB Output isn't correct
2 Halted 0 ms 0 KB -