답안 #14475

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
14475 2015-05-17T13:46:25 Z nosiar printf 함수 2 (BSC_0_2) C++
컴파일 오류
0 ms 0 KB
#include<iostream>
int main() {
    std::cout << R"asdf(...______.~...
~.///////\..-.
.///////_'\...
..II%II.+I.,..
..IIIII.nI.P..
"""""""""""""")asdf" << std::endl;
}

Compilation message

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(...______.~...
                  ^