ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1000. A+B Problem

I don't understand about problem 1000
Posted by AccT 26 Jan 2007 18:16
I write this But it said Complie Error

include <stdio.h>
main()
{
      int a,b;
      scanf("%d%d",&a,&b);
      printf("%d\n",a+b);
}

Sorry for my bad english
Re: I don't understand about problem 1000
Posted by Cybernetics Team 26 Jan 2007 19:10
check the FAQ first...
you need an int main() with a return 0; to compile
Re: I don't understand about problem 1000
Posted by KIRILL(ArcSTU) 26 Jan 2007 20:03
Cybernetics Team wrote 26 January 2007 19:10
check the FAQ first...
you need an int main() with a return 0; to compile
No he just need # to AC:)
Re: I don't understand about problem 1000
Posted by RockBeat 27 Jan 2007 20:34
AccT wrote 26 January 2007 18:16
I write this But it said Complie Error

include <stdio.h>
main()
{
      int a,b;
      scanf("%d%d",&a,&b);
      printf("%d\n",a+b);
}

Sorry for my bad english

#include<stdio.h> // !!!