1 条题解
-
0
C :
#include<stdio.h> int main() { printf("sheep_go\n"); printf("nothing_come\n"); printf("wolf_go\n"); printf("sheep_come\n"); printf("vegetable_go\n"); printf("nothing_come\n"); printf("sheep_go\n"); printf("succeed\n"); // printf("\n"); printf("sheep_go\n"); printf("nothing_come\n"); printf("vegetable_go\n"); printf("sheep_come\n"); printf("wolf_go\n"); printf("nothing_come\n"); printf("sheep_go\n"); printf("succeed\n"); // printf("\n"); return(0); }
C++ :
#include<stdio.h> int main() { printf("sheep_go\n"); printf("nothing_come\n"); printf("wolf_go\n"); printf("sheep_come\n"); printf("vegetable_go\n"); printf("nothing_come\n"); printf("sheep_go\n"); printf("succeed\n"); printf("sheep_go\n"); printf("nothing_come\n"); printf("vegetable_go\n"); printf("sheep_come\n"); printf("wolf_go\n"); printf("nothing_come\n"); printf("sheep_go\n"); printf("succeed\n"); return 0; }
Java :
public class Main{ public static void main(String[] args){ System.out.println("sheep_go"); System.out.println("nothing_come"); System.out.println("wolf_go"); System.out.println("sheep_come"); System.out.println("vegetable_go"); System.out.println("nothing_come"); System.out.println("sheep_go"); System.out.println("succeed"); System.out.println("sheep_go"); System.out.println("nothing_come"); System.out.println("vegetable_go"); System.out.println("sheep_come"); System.out.println("wolf_go"); System.out.println("nothing_come"); System.out.println("sheep_go"); System.out.println("succeed"); } }
- 1
信息
- ID
- 58
- 时间
- 1000ms
- 内存
- 32MiB
- 难度
- 10
- 标签
- 递交数
- 9
- 已通过
- 2
- 上传者