제출 #465699

#제출 시각아이디문제언어결과실행 시간메모리
465699AnasBenMoussaHandcrafted Gift (IOI20_gift)C++14
10 / 100
192 ms12996 KiB
#include "gift.h" int construct(int n, int r, std::vector<int> a, std::vector<int> b, std::vector<int> x) { std::string s(n, 'RB'); craft(s); return 1; }

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

gift.cpp:4:22: warning: multi-character character constant [-Wmultichar]
    4 |     std::string s(n, 'RB');
      |                      ^~~~
gift.cpp: In function 'int construct(int, int, std::vector<int>, std::vector<int>, std::vector<int>)':
gift.cpp:4:22: warning: overflow in conversion from 'int' to 'char' changes value from '21058' to ''B'' [-Woverflow]
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...