6 like 0 dislike

Online Judge is to compare your output with the desired output specific by the author of the problem.

This problem will expect the output:

Hello World

So, you should output only the required output by this program:

#include <stdio.h>
int main(){
  printf("Hello World");
  return 0;
}

The below program looks similar but will not be accepted because of the newline at the end:

#include <stdio.h>
int main(){
  printf("Hello World\n");
  return 0;
}

Enjoy your time with The Judge!

[Normal] Coding (C) - asked in Introduction to Computer Programming I (C) by (9.9k points)
ID: 27262 - Available when: Unlimited - Due to: Unlimited

edited by | 252 views
0 0
#include <stdio.h>
int main(){
  printf("Hello World");
  return 0;
}

1 Answer

0 like 0 dislike
Hidden content!
*** * ** *****
int main(){
** **** ** ** *** **** * *** * * * *
* * **** **** * 0;
}
answered by (9.9k points)
0 0
Case 0: Correct output
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:3.239.58.199
©2016-2021

Related questions

5 like 0 dislike
0 answers
[Normal] Coding (C) - asked Feb 19, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21974 - Available when: Unlimited - Due to: Unlimited
| 75 views
12,102 questions
157,995 answers
158,423 comments
4,502 users