oj-verify print too long source
See original GitHub issueSummary / 概要
手元でoj-verify runを実行すると数万行の出力が出てきます。
Steps to reproduce / 再現方法
- https://github.com/yosupo06/yosupo-library の
feature/ojbranchを手元にclone、トップでoj-verify runを実行
environments:
- Mac OS (10.15.7)
$ oj --version
online-judge-tools 11.1.3 (+ online-judge-api-client 10.8.0)
$ pip3 list | grep online
online-judge-api-client 10.8.0
online-judge-tools 11.1.3
online-judge-verify-helper 5.5.2
Expected behavior / 期待される挙動
Actual behavior / 実際の挙動
[32mINFO[0m:onlinejudge_verify.config:no config file[0m
[33mWARNING[0m:onlinejudge_verify.verify:failed to increase the stack size[0m
[32mINFO[0m:onlinejudge_verify.verify:verify: test-oj/aplusb.test.cpp[0m
clang: warning: -Wl,-stack_size,0x10000000: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -Wl,-stack_size,0x10000000: 'linker' input unused [-Wunused-command-line-argument]
[32mINFO[0m:onlinejudge.dispatch:problem recognized: LibraryCheckerProblem.from_url('https://judge.yosupo.jp/problem/many_aplusb'): https://judge.yosupo.jp/problem/many_aplusb[0m
[32mINFO[0m:onlinejudge_verify.verify:problem: https://judge.yosupo.jp/problem/many_aplusb[0m
[32mINFO[0m:onlinejudge_verify.verify:$ sleep 2[0m
[32mINFO[0m:onlinejudge_verify.verify:$ oj download --system -d .verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test --silent https://judge.yosupo.jp/problem/many_aplusb[0m
[INFO] online-judge-tools 11.1.3 (+ online-judge-api-client 10.8.0)
[INFO] problem recognized: LibraryCheckerProblem.from_url('https://judge.yosupo.jp/problem/many_aplusb'): https://judge.yosupo.jp/problem/many_aplusb
[INFO] load cookie from: /Users/yosupo/Library/Application Support/online-judge-tools/cookie.jar
git version 2.24.3 (Apple Git-128)
[INFO] $ git -C /Users/yosupo/Library/Caches/online-judge-tools/library-checker-problems pull
Already up to date.
[INFO] $ /usr/local/opt/python@3.9/bin/python3.9 /Users/yosupo/Library/Caches/online-judge-tools/library-checker-problems/generate.py /Users/yosupo/Library/Caches/online-judge-tools/library-checker-problems/sample/many_aplusb/info.toml
[37m00:13:51 [INFO] Start many_aplusb[0m
[37m00:13:51 [INFO] generate params.h[0m
[37m00:13:51 [INFO] Test cases are already generated[0m
[37m00:13:51 [INFO] The checker is already compiled[0m
[INFO] save cookie to: /Users/yosupo/Library/Application Support/online-judge-tools/cookie.jar
[INFO] sample 0
[INFO] input: all_max_00
[SUCCESS] saved to: .verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/all_max_00.in
[INFO] output: all_max_00
[SUCCESS] saved to: .verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/all_max_00.out
[INFO] sample 1
[INFO] input: all_zero_00
[SUCCESS] saved to: .verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/all_zero_00.in
[INFO] output: all_zero_00
[SUCCESS] saved to: .verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/all_zero_00.out
[INFO] sample 2
[INFO] input: example_00
[SUCCESS] saved to: .verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/example_00.in
[INFO] output: example_00
[SUCCESS] saved to: .verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/example_00.out
[INFO] sample 3
[INFO] input: max_random_00
[SUCCESS] saved to: .verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/max_random_00.in
[INFO] output: max_random_00
[SUCCESS] saved to: .verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/max_random_00.out
[INFO] sample 4
[INFO] input: max_random_01
[SUCCESS] saved to: .verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/max_random_01.in
[INFO] output: max_random_01
[SUCCESS] saved to: .verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/max_random_01.out
[INFO] sample 5
[INFO] input: random_00
[SUCCESS] saved to: .verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/random_00.in
[INFO] output: random_00
[SUCCESS] saved to: .verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/random_00.out
[INFO] sample 6
[INFO] input: random_01
[SUCCESS] saved to: .verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/random_01.in
[INFO] output: random_01
[SUCCESS] saved to: .verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/random_01.out
[32mINFO[0m:onlinejudge_verify.languages.cplusplus:$ /usr/bin/g++ --std=c++17 -O2 -Wall -g -Wl,-stack_size,0x10000000 -I /Users/yosupo/Programs/yosupo-library -o .verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/a.out test-oj/aplusb.test.cpp[0m
git version 2.24.3 (Apple Git-128)
[32mINFO[0m:onlinejudge.service.library_checker:$ git -C /Users/yosupo/Library/Caches/online-judge-tools/library-checker-problems pull[0m
Already up to date.
[32mINFO[0m:onlinejudge.service.library_checker:$ /usr/local/opt/python@3.9/bin/python3.9 /Users/yosupo/Library/Caches/online-judge-tools/library-checker-problems/generate.py /Users/yosupo/Library/Caches/online-judge-tools/library-checker-problems/sample/many_aplusb/info.toml --compile-checker[0m
[33m00:13:54 [WARNING] --compile-checker is deprecated. Checker is compiled in default[0m
[37m00:13:54 [INFO] Start many_aplusb[0m
[37m00:13:54 [INFO] generate params.h[0m
[37m00:13:54 [INFO] Test cases are already generated[0m
[37m00:13:54 [INFO] The checker is already compiled[0m
[32mINFO[0m:onlinejudge_verify.verify:$ oj test -c .verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/a.out -d .verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test --print-input --tle 60 --judge-command /Users/yosupo/Library/Caches/online-judge-tools/library-checker-problems/sample/many_aplusb/checker[0m
[INFO] online-judge-tools 11.1.3 (+ online-judge-api-client 10.8.0)
[INFO] 7 cases found
time: illegal option -- f
usage: time [-lp] command.
[WARNING] GNU time is not available: time
[INFO] all_max_00
[INFO] time: 0.082224 sec
[INFO] $ /Users/yosupo/Library/Caches/online-judge-tools/library-checker-problems/sample/many_aplusb/checker /Users/yosupo/Programs/yosupo-library/.verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/all_max_00.in /private/var/folders/y9/jmjk4w395kscrg_jsgfxkpfm0000gn/T/tmpztvqxscz/actual.out /Users/yosupo/Programs/yosupo-library/.verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/all_max_00.out
ok 1000000 tokens
judge's output:
(empty)
[SUCCESS] AC
[INFO] all_zero_00
[INFO] time: 0.020410 sec
[INFO] $ /Users/yosupo/Library/Caches/online-judge-tools/library-checker-problems/sample/many_aplusb/checker /Users/yosupo/Programs/yosupo-library/.verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/all_zero_00.in /private/var/folders/y9/jmjk4w395kscrg_jsgfxkpfm0000gn/T/tmpsum6m6mw/actual.out /Users/yosupo/Programs/yosupo-library/.verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/all_zero_00.out
ok 1000000 tokens
judge's output:
(empty)
[SUCCESS] AC
[INFO] example_00
[INFO] time: 0.003764 sec
[INFO] $ /Users/yosupo/Library/Caches/online-judge-tools/library-checker-problems/sample/many_aplusb/checker /Users/yosupo/Programs/yosupo-library/.verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/example_00.in /private/var/folders/y9/jmjk4w395kscrg_jsgfxkpfm0000gn/T/tmp270gk32x/actual.out /Users/yosupo/Programs/yosupo-library/.verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/example_00.out
ok 3 tokens
judge's output:
(empty)
[SUCCESS] AC
[INFO] max_random_00
[INFO] time: 0.083291 sec
[INFO] $ /Users/yosupo/Library/Caches/online-judge-tools/library-checker-problems/sample/many_aplusb/checker /Users/yosupo/Programs/yosupo-library/.verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/max_random_00.in /private/var/folders/y9/jmjk4w395kscrg_jsgfxkpfm0000gn/T/tmpd3entydp/actual.out /Users/yosupo/Programs/yosupo-library/.verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/max_random_00.out
ok 1000000 tokens
judge's output:
(empty)
[SUCCESS] AC
[INFO] max_random_01
[INFO] time: 0.083143 sec
[INFO] $ /Users/yosupo/Library/Caches/online-judge-tools/library-checker-problems/sample/many_aplusb/checker /Users/yosupo/Programs/yosupo-library/.verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/max_random_01.in /private/var/folders/y9/jmjk4w395kscrg_jsgfxkpfm0000gn/T/tmpr7p7gh0b/actual.out /Users/yosupo/Programs/yosupo-library/.verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/max_random_01.out
ok 1000000 tokens
judge's output:
(empty)
[SUCCESS] AC
[INFO] random_00
[INFO] time: 0.034881 sec
[INFO] $ /Users/yosupo/Library/Caches/online-judge-tools/library-checker-problems/sample/many_aplusb/checker /Users/yosupo/Programs/yosupo-library/.verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/random_00.in /private/var/folders/y9/jmjk4w395kscrg_jsgfxkpfm0000gn/T/tmpwwyjwq8w/actual.out /Users/yosupo/Programs/yosupo-library/.verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/random_00.out
ok 389813 tokens
judge's output:
(empty)
[SUCCESS] AC
[INFO] random_01
[INFO] time: 0.040022 sec
[INFO] $ /Users/yosupo/Library/Caches/online-judge-tools/library-checker-problems/sample/many_aplusb/checker /Users/yosupo/Programs/yosupo-library/.verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/random_01.in /private/var/folders/y9/jmjk4w395kscrg_jsgfxkpfm0000gn/T/tmpuwrwbabm/actual.out /Users/yosupo/Programs/yosupo-library/.verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/random_01.out
ok 463046 tokens
judge's output:
(empty)
[SUCCESS] AC
[INFO] slowest: 0.083291 sec (for max_random_00)
[SUCCESS] test success: 7 cases
[32mINFO[0m:onlinejudge_verify.languages.cplusplus:$ /usr/bin/clang++ --std=c++17 -O2 -Wall -g -Wl,-stack_size,0x10000000 -I /Users/yosupo/Programs/yosupo-library -o .verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/a.out test-oj/aplusb.test.cpp[0m
[32mINFO[0m:onlinejudge.service.library_checker:$ /usr/local/opt/python@3.9/bin/python3.9 /Users/yosupo/Library/Caches/online-judge-tools/library-checker-problems/generate.py /Users/yosupo/Library/Caches/online-judge-tools/library-checker-problems/sample/many_aplusb/info.toml --compile-checker[0m
[33m00:13:58 [WARNING] --compile-checker is deprecated. Checker is compiled in default[0m
[37m00:13:58 [INFO] Start many_aplusb[0m
[37m00:13:58 [INFO] generate params.h[0m
[37m00:13:58 [INFO] Test cases are already generated[0m
[37m00:13:58 [INFO] The checker is already compiled[0m
[32mINFO[0m:onlinejudge_verify.verify:$ oj test -c .verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/a.out -d .verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test --print-input --tle 60 --judge-command /Users/yosupo/Library/Caches/online-judge-tools/library-checker-problems/sample/many_aplusb/checker[0m
[INFO] online-judge-tools 11.1.3 (+ online-judge-api-client 10.8.0)
[INFO] 7 cases found
time: illegal option -- f
usage: time [-lp] command.
[WARNING] GNU time is not available: time
[INFO] all_max_00
[INFO] time: 0.085610 sec
[INFO] $ /Users/yosupo/Library/Caches/online-judge-tools/library-checker-problems/sample/many_aplusb/checker /Users/yosupo/Programs/yosupo-library/.verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/all_max_00.in /private/var/folders/y9/jmjk4w395kscrg_jsgfxkpfm0000gn/T/tmp89r4xfov/actual.out /Users/yosupo/Programs/yosupo-library/.verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/all_max_00.out
ok 1000000 tokens
judge's output:
(empty)
[SUCCESS] AC
[INFO] all_zero_00
[INFO] time: 0.021544 sec
[INFO] $ /Users/yosupo/Library/Caches/online-judge-tools/library-checker-problems/sample/many_aplusb/checker /Users/yosupo/Programs/yosupo-library/.verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/all_zero_00.in /private/var/folders/y9/jmjk4w395kscrg_jsgfxkpfm0000gn/T/tmp9gu3pqf_/actual.out /Users/yosupo/Programs/yosupo-library/.verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/all_zero_00.out
ok 1000000 tokens
judge's output:
(empty)
[SUCCESS] AC
[INFO] example_00
[INFO] time: 0.003889 sec
[INFO] $ /Users/yosupo/Library/Caches/online-judge-tools/library-checker-problems/sample/many_aplusb/checker /Users/yosupo/Programs/yosupo-library/.verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/example_00.in /private/var/folders/y9/jmjk4w395kscrg_jsgfxkpfm0000gn/T/tmp5ibj_dnz/actual.out /Users/yosupo/Programs/yosupo-library/.verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/example_00.out
ok 3 tokens
judge's output:
(empty)
[SUCCESS] AC
[INFO] max_random_00
[INFO] time: 0.085486 sec
[INFO] $ /Users/yosupo/Library/Caches/online-judge-tools/library-checker-problems/sample/many_aplusb/checker /Users/yosupo/Programs/yosupo-library/.verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/max_random_00.in /private/var/folders/y9/jmjk4w395kscrg_jsgfxkpfm0000gn/T/tmplj23ct_2/actual.out /Users/yosupo/Programs/yosupo-library/.verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/max_random_00.out
ok 1000000 tokens
judge's output:
(empty)
[SUCCESS] AC
[INFO] max_random_01
[INFO] time: 0.085069 sec
[INFO] $ /Users/yosupo/Library/Caches/online-judge-tools/library-checker-problems/sample/many_aplusb/checker /Users/yosupo/Programs/yosupo-library/.verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/max_random_01.in /private/var/folders/y9/jmjk4w395kscrg_jsgfxkpfm0000gn/T/tmpvynhr2x7/actual.out /Users/yosupo/Programs/yosupo-library/.verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/max_random_01.out
ok 1000000 tokens
judge's output:
(empty)
[SUCCESS] AC
[INFO] random_00
[INFO] time: 0.034541 sec
[INFO] $ /Users/yosupo/Library/Caches/online-judge-tools/library-checker-problems/sample/many_aplusb/checker /Users/yosupo/Programs/yosupo-library/.verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/random_00.in /private/var/folders/y9/jmjk4w395kscrg_jsgfxkpfm0000gn/T/tmp3avluwyv/actual.out /Users/yosupo/Programs/yosupo-library/.verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/random_00.out
ok 389813 tokens
judge's output:
(empty)
[SUCCESS] AC
[INFO] random_01
[INFO] time: 0.039327 sec
[INFO] $ /Users/yosupo/Library/Caches/online-judge-tools/library-checker-problems/sample/many_aplusb/checker /Users/yosupo/Programs/yosupo-library/.verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/random_01.in /private/var/folders/y9/jmjk4w395kscrg_jsgfxkpfm0000gn/T/tmpyc64vwd5/actual.out /Users/yosupo/Programs/yosupo-library/.verify-helper/cache/4eadb574dcb743b83b4a231fcab69002/test/random_01.out
ok 463046 tokens
judge's output:
(empty)
[SUCCESS] AC
[INFO] slowest: 0.085610 sec (for all_max_00)
[SUCCESS] test success: 7 cases
clang: warning: -Wl,-stack_size,0x10000000: 'linker' input unused [-Wunused-command-line-argument]
# 1 "/Users/yosupo/Programs/yosupo-library/test-oj/aplusb.test.cpp"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 424 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/Users/yosupo/Programs/yosupo-library/test-oj/aplusb.test.cpp" 2
# 1 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdio" 1 3
# 98 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdio" 3
# 1 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__config" 1 3
# 57 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__config" 3
# 841 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__config" 3
namespace std { inline namespace __1 { } }
# 99 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdio" 2 3
# 1 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stdio.h" 1 3
# 101 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stdio.h" 3
# 1 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__config" 1 3
# 102 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stdio.h" 2 3
# 105 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stdio.h" 3
# 1 "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdio.h" 1 3 4
# 64 "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdio.h" 3 4
# 1 "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_stdio.h" 1 3 4
# 68 "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_stdio.h" 3 4
# 1 "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/cdefs.h" 1 3 4
# 630 "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/cdefs.h" 3 4
# 1 "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_symbol_aliasing.h" 1 3 4
# 631 "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/cdefs.h" 2 3 4
# 696 "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/cdefs.h" 3 4
# 1 "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_posix_availability.h" 1 3 4
# 697 "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/cdefs.h" 2 3 4
# 69 "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_stdio.h" 2 3 4
# 1 "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/Availability.h" 1 3 4
# 259 "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/Availability.h" 3 4
# 1 "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/AvailabilityInternal.h" 1 3 4
# 260 "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/Availability.h" 2 3 4
# 70 "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_stdio.h" 2 3 4
# 1 "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_types.h" 1 3 4
# 27 "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_types.h" 3 4
# 1 "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h" 1 3 4
# 33 "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h" 3 4
# 1 "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/_types.h" 1 3 4
# 32 "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/_types.h" 3 4
# 1 "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_types.h" 1 3 4
# 37 "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_types.h" 3 4
typedef signed char __int8_t;
typedef unsigned char __uint8_t;
typedef short __int16_t;
typedef unsigned short __uint16_t;
typedef int __int32_t;
typedef unsigned int __uint32_t;
typedef long long __int64_t;
typedef unsigned long long __uint64_t;
以後数万行のソースコード
int main() {
int t;
sc.read(t);
for (int i = 0; i < t; i++) {
long long a, b;
sc.read(a, b);
pr.writeln(a + b);
}
}
[32mINFO[0m:onlinejudge_verify.verify:all tests succeeded[0m
::warning ::failed to ulimit
Other notes / その他
- Will you try to create a pull request?
- no
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
3D Printing Tolerances: How to Test & Improve Them - All3DP
To test for your 3D printer's tolerances, start by properly calibrating your printer and its extruder. A helpful tool in this endeavor is...
Read more >How can I get the path of a document that has been printed in ...
From here, right-click the “Operational” log and then click the “Properties” button. Click to enable the “Enable Logging” checkbox and then set ...
Read more >Common Printing Issues and Ways to Solve Them
Confirm the printer isn't set for offline use – your device may display offline status and not accept your print jobs. In Windows,...
Read more >Evaluating Print Sources - UNC Writing Center
This handout will discuss strategies to evaluate secondary printed sources—books, journal articles, magazines, etc.—based on three criteria: objectivity, ...
Read more >Printing complex PDF document using Acrobat - Adobe Support
Print by using the Acrobat default settings to determine if a print setting could have changed and is causing the problem. Choose File...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

g++ -std=c++17 -O2 -Wall -g -Wl,-stack_size,0x10000000 -dM -E test-oj/aplusb.test.cpp -I .3000行ほど出てきました。ここに全てを貼ることは出来ないため、独断で一部を抜き出したものが以下です
g++ -std=c++17 -O2 -Wall -g -Wl,-stack_size,0x10000000 -MD -MF output.txt -MM test-oj/aplusb.test.cpp -I .数万行の(標準ライブラリもすべて展開されたと思わしき)ソースコードが標準出力に出力されました。おそらく当初の
oj-verify runで出力されるものと同一だと思われます。g++ -std=c++17 -O2 -Wall -g -Wl,-stack_size,0x10000000 test-oj/aplusb.test.cpp -I .コンパイルが出来て、期待通りのもの(Many A + Bの解答となるバイナリ)が
./a.outに出力されました。これはよくないですね。提出先の問題をマクロを流用して定義する仕様がかなり失敗だった感があり、ちょうどそのうち置き換えたいなと思っていたところでした。そのうちなんとかします。数十行のシェルスクリプトだったときのハックとしてはマクロはそう悪くなかったはずで、いわゆる技術的負債というやつですね。
workaround としては
$CXXを指定してもらう以外に、提出先の問題などの指定を#define [KEY] [VALUE]でなく// verification-helper: [KEY] [VALUE]の形で書くというものがあります。これがあるとマクロの検査が省略される (高速化にもなる) ので、出力は消えると思います。この指定方法はまだ undocumented なのですが、そのうち documented にする予定のものです。