답안 #756015

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
756015 2023-06-10T21:31:52 Z aykhn 수열 (BOI14_sequence) C++14
0 / 100
0 ms 212 KB
#include <bits/stdc++.h>

// author: aykhn

using namespace std;

typedef long long ll;

#define TC int t; cin >> t; while (t--) _();
#define OPT ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define all(v) v.begin(), v.end()
#define pii pair<int, int>
#define mpr make_pair
#define eb emplace_back
#define pb push_back
#define ts to_string
#define fi first
#define se second
#define ins insert
#define int ll
#define inf 0x3F3F3F3F
#define infll 0x3F3F3F3F3F3F3F3FLL
#define bpc __builtin_popcount

signed main()
{
    OPT;
    int n;
    cin >> n;
    
    int x;
    
    for (int i = 0; i < n; i++) cin >> x;
    
    int k = 1;
    while (n / k) k *= 10;
    
    if (!x) cout << k * 10 << endl; else
    
    cout << x * k << endl;
    
    
    
    
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 0 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 0 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 0 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 0 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -