結果

問題 No.46 はじめのn歩
ユーザー pekempeypekempey
提出日時 2019-09-26 01:59:44
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 996 bytes
コンパイル時間 621 ms
コンパイル使用メモリ 70,712 KB
実行使用メモリ 4,348 KB
最終ジャッジ日時 2023-10-24 10:03:06
合計ジャッジ時間 1,655 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,348 KB
testcase_01 AC 1 ms
4,348 KB
testcase_02 AC 1 ms
4,348 KB
testcase_03 AC 2 ms
4,348 KB
testcase_04 AC 2 ms
4,348 KB
testcase_05 AC 1 ms
4,348 KB
testcase_06 AC 2 ms
4,348 KB
testcase_07 AC 2 ms
4,348 KB
testcase_08 AC 2 ms
4,348 KB
testcase_09 AC 2 ms
4,348 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

// https://github.com/pekempey/banana
// -------------------------------------------
// let a = readint 0 in
// let b = readint 0 in
// println ((b + a - 1) / a)
// -------------------------------------------
#include <iostream>
#include <algorithm>
#include <vector>
#include <string>
template<class T> int print(T a) { std::cout << a << ' '; return 0; }
template<class T> int println(T a) { std::cout << a << '\n'; return 0; }
int print_newline(int dummy) { std::cout << '\n'; return 0; }
long long readint(int dummy) { long long a; std::cin >> a; return a; }
std::string readstr(int dummy) { std::string a; std::cin >> a; return a; }
std::vector<long long> vecint(long long n) { return std::vector<long long>(n, 0); }
int main() {
long long _5=0;
auto _6=readint(_5);
auto _2=_6;
long long _7=0;
auto _8=readint(_7);
auto _3=_8;
auto &_9=_3;
auto &_10=_2;
auto _11=_9+_10;
long long _12=1;
auto _13=_11-_12;
auto &_14=_2;
auto _15=_13/_14;
auto _16=println(_15);
auto _17=_16;
auto _18=_17;
}
0