제출 #649393

#제출 시각아이디문제언어결과실행 시간메모리
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";
	}
}

컴파일 시 표준 에러 (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...