Submission #1036975

#TimeUsernameProblemLanguageResultExecution timeMemory
1036975ereringRobot Contest (IOI23_robot)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h>
#include "robot.h"
using namespace std;
void program_pulibot(){
    vector<int> s(5)={0,-2,0,0,-2};
    set_instruction(s,1,'E');
}

Compilation message (stderr)

robot.cpp: In function 'void program_pulibot()':
robot.cpp:5:21: error: expected ',' or ';' before '=' token
    5 |     vector<int> s(5)={0,-2,0,0,-2};
      |                     ^