제출 #14475

#제출 시각아이디문제언어결과실행 시간메모리
14475nosiarprintf 함수 2 (BSC_0_2)C++98
컴파일 에러
0 ms0 KiB
#include<iostream>
int main() {
    std::cout << R"asdf(...______.~...
~.///////\..-.
.///////_'\...
..II%II.+I.,..
..IIIII.nI.P..
"""""""""""""")asdf" << std::endl;
}

컴파일 시 표준 에러 (stderr) 메시지

printf2.cpp:3:19: warning: missing terminating " character
     std::cout << R"asdf(...______.~...
                   ^
printf2.cpp:3:5: error: missing terminating " character
     std::cout << R"asdf(...______.~...
     ^
printf2.cpp:8:20: warning: missing terminating " character
 """""""""""""")asdf" << std::endl;
                    ^
printf2.cpp:8:1: error: missing terminating " character
 """""""""""""")asdf" << std::endl;
 ^
printf2.cpp: In function ‘int main()’:
printf2.cpp:3:18: error: ‘R’ was not declared in this scope
     std::cout << R"asdf(...______.~...
                  ^