답안 #649393

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
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};
      |            ^~~
# 결과 실행 시간 메모리 Grader output
1 Incorrect 67 ms 4264 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 17 ms 1324 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 375 ms 20320 KB Output isn't correct
2 Halted 0 ms 0 KB -