Submission #649386

# Submission time Handle Problem Language Result Execution time Memory
649386 2022-10-10T07:08:18 Z DangerNoodle7591 Binary Subsequences (info1cup17_binary) C++17
0 / 100
1 ms 340 KB
#include <iostream>
using namespace std;
int main(){
	ios_base::sync_with_stdio(false);
	cin.tie(NULL);
	int t;cin>>t;
	while(t--){
		int x;cin>>x;
		if(x==1){
			cout<<2<<"\n"<<-1<<"\n";
			continue;
		}
		cout<<(x-1)*2<<"\n"<<-1<<"\n";
	}
}
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 340 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -