C Turtle
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
#include "CTurtle.hpp"
using namespace cturtle;
int main(int argc, char** argv) {
TurtleScreen scr;
Turtle rt(scr);
for(int i = 0; i < 4; i++){
rt.forward(50);
rt.right(90);
}
scr.bye();
return 0;
}
测试比赛
- Status
- Done
- Rule
- OI
- Problem
- 2
- Start at
- 2025-11-5 19:15
- End at
- 2025-11-5 21:15
- Duration
- 2 hour(s)
- Host
- Partic.
- 0