Submission #782074

#TimeUsernameProblemLanguageResultExecution timeMemory
782074Dan4LifeCoins (IOI17_coins)C++17
Compilation error
0 ms0 KiB
#include<vector>using v=std::vector<int>; v coin_flips(v b, int c){for(int i=0;i<64;i++)c^=b[i]*i;return{c};} int find_coin(v a){int x=0;for(int i=0;i<64;i++)x^=a[i]*i;return x;}

Compilation message (stderr)

coins.cpp:1:23: warning: extra tokens at end of #include directive
    1 | #include<vector>using v=std::vector<int>;
      |                       ^
coins.cpp:1:9: fatal error: vector>usin: No such file or directory
    1 | #include<vector>using v=std::vector<int>;
      |         ^~~~~~~~~~~~~
compilation terminated.