Submission #72344831
Source Code Expand
/*
Contest Name : AtCoder Beginner Contest 440
Problem : A Octave
Date : 2026-01-10
Time taken :
*/
#include<iostream>
#include<algorithm>
#include<cstring>
#include<cstdio>
#include<cmath>
using namespace std;
typedef long long ll;
const int N = 61;
int main(){
//freopen("C:\\Users\\HP\\Downloads\\.in", "r", stdin);
//freopen("C:\\Users\\HP\\Desktop\\.txt", "w", stdout);
int a, b;
cin >> a >> b;
ll ans = a;
for(int i=1;i<=b;i++) ans <<= 1;
printf("%lld\n", ans);
return 0;
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - Octave |
| User | Queryme |
| Language | C++23 (GCC 15.2.0) |
| Score | 100 |
| Code Size | 541 Byte |
| Status | AC |
| Exec Time | 3 ms |
| Memory | 3808 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | 00-sample-01.txt, 00-sample-02.txt, 00-sample-03.txt |
| All | 00-sample-01.txt, 00-sample-02.txt, 00-sample-03.txt, 01-01.txt, 01-02.txt, 01-03.txt, 01-04.txt, 01-05.txt, 01-06.txt, 01-07.txt, 01-08.txt, 01-09.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 00-sample-01.txt | AC | 3 ms | 3800 KiB |
| 00-sample-02.txt | AC | 1 ms | 3784 KiB |
| 00-sample-03.txt | AC | 1 ms | 3672 KiB |
| 01-01.txt | AC | 1 ms | 3656 KiB |
| 01-02.txt | AC | 1 ms | 3720 KiB |
| 01-03.txt | AC | 1 ms | 3764 KiB |
| 01-04.txt | AC | 1 ms | 3764 KiB |
| 01-05.txt | AC | 1 ms | 3720 KiB |
| 01-06.txt | AC | 1 ms | 3720 KiB |
| 01-07.txt | AC | 1 ms | 3680 KiB |
| 01-08.txt | AC | 1 ms | 3808 KiB |
| 01-09.txt | AC | 1 ms | 3780 KiB |