Submission #465699

#TimeUsernameProblemLanguageResultExecution timeMemory
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; }

Compilation message (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...