#1278: a001: 哈囉(C)


1555142-3@g.puiching.edu.mo (S1A06余韋霆)

School : No School
ID : 2376
IP address : [192.168.120.33]
Last Login :
2024-09-22 12:25:16
a001. 哈囉 -- Brian Kernighan | From: [192.168.120.33] | Post Date : 2023-06-20 16:17

#include<stdio.h>

int main() {

 char s[9999];

while( scanf("%s",s)!=EOF ) {

 printf("hello, %s\n",s);

 }

 return 0;

}

 
#1279: Re:a001: 哈囉(C)


1360467-8@g.puiching.edu.mo (tetris)

School : No School
ID : 1791
IP address : [192.168.120.33]
Last Login :
2024-10-24 08:03:31
a001. 哈囉 -- Brian Kernighan | From: [192.168.120.33] | Post Date : 2023-06-20 18:18

#include

int main() {

 char s[9999];

while( scanf("%s",s)!=EOF ) {

 printf("hello, %s\n",s);

 }

 return 0;

}


都能找範例程式碼了

有必要post嗎

 
ZeroJudge Forum