verification-helper

This documentation is automatically generated by online-judge-tools/verification-helper

View the Project on GitHub online-judge-tools/verification-helper

:heavy_check_mark: examples/debug/gcc_only.test.cpp

Code

#ifdef __clang__
#define IGNORE
#else

#define PROBLEM "https://onlinejudge.u-aizu.ac.jp/courses/lesson/2/ITP1/1/ITP1_1_A"
#include <cstdio>

// clang++ says "error: C++ requires a type specifier for all declarations", but g++ doesn't
main() {
    printf("Hello World\n");
}

#endif
#line 1 "examples/debug/gcc_only.test.cpp"
#ifdef __clang__
#define IGNORE
#else

#define PROBLEM "https://onlinejudge.u-aizu.ac.jp/courses/lesson/2/ITP1/1/ITP1_1_A"
#include <cstdio>

// clang++ says "error: C++ requires a type specifier for all declarations", but g++ doesn't
main() {
    printf("Hello World\n");
}

#endif
Back to top page