test.snuvi 521 B

123456789101112131415161718192021222324
  1. const int* text = "Hi there\n";
  2. void main() {
  3. for(int i = 0; i < 5; i++) {
  4. print(text);
  5. }
  6. /*print("----------\n");
  7. while(true) {
  8. wait();
  9. print("Wusi\n");
  10. if(getEvent() != 1) {
  11. continue;
  12. }
  13. print("Command Event: \n");
  14. int** data = getArguments();
  15. for(int i = 0; i < length(data); i++) {
  16. print(data[i]);
  17. print("\n");
  18. delete data[i];
  19. }
  20. delete data;
  21. print("\n");
  22. }*/
  23. }