Evil C Compiler

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

Compile and run the supplied programs which are possible solutions to the "Fibonacci Numbers", "FizzBuzz", and "99 shinichiroes of hamaji" problems.

Options

exec is denied

no deadline, the server will not save your submission

Sample input:_

#include <stdio.h>

void Fib() {
   int a=1;
   int b=1;
   int n=0;
   while (n < 46) {
      printf("%d\n",a);
      int temp=a;
      a=b;
      b=temp+b;
      n=n+1;
   }
}

int main() {
   Fib();
   return 0;
}

Sample output:

Compiling...
Running...
1
1
2
3
5
8
13
21
34
55
89
144
233
377
610
987
1597
2584
4181
6765
10946
17711
28657
46368
75025
121393
196418
317811
514229
832040
1346269
2178309
3524578
5702887
9227465
14930352
24157817
39088169
63245986
102334155
165580141
267914296
433494437
701408733
1134903170
1836311903

Sample input:_

#include <stdio.h>

void FizzBuzz() {
   int n = 1;
   while (n < 101) {
      if (n%3==0 && n%5==0) {
         printf("FizzBuzz\n");   
      } 
      else if (n%3==0) {
         printf("Fizz\n");
      }
      else if (n%5==0) {
         printf("Buzz\n");
      }
      else {
         printf("%d\n", n);
      }
      n += 1;
   }
}

int main(){
   FizzBuzz();
   return 0;
}

Sample output:

Compiling...
Running...
1
2
Fizz
4
Buzz
Fizz
7
8
Fizz
Buzz
11
Fizz
13
14
FizzBuzz
16
17
Fizz
19
Buzz
Fizz
22
23
Fizz
Buzz
26
Fizz
28
29
FizzBuzz
31
32
Fizz
34
Buzz
Fizz
37
38
Fizz
Buzz
41
Fizz
43
44
FizzBuzz
46
47
Fizz
49
Buzz
Fizz
52
53
Fizz
Buzz
56
Fizz
58
59
FizzBuzz
61
62
Fizz
64
Buzz
Fizz
67
68
Fizz
Buzz
71
Fizz
73
74
FizzBuzz
76
77
Fizz
79
Buzz
Fizz
82
83
Fizz
Buzz
86
Fizz
88
89
FizzBuzz
91
92
Fizz
94
Buzz
Fizz
97
98
Fizz
Buzz

Sample input:_

#include <stdio.h>
int main() {
   int i=99;  
   while (i>1) {
      printf("%d shinichiroes of hamaji on the wall, ",i);
      printf("%d shinichiroes of hamaji.\n", i);
      printf("Take one down and pass it around, ");
      i-=1;
      if (i>1) {
         printf("%d shinichiroes of hamaji on the wall.\n\n",i);
      }
   }
   printf("1 shinichiro of hamaji on the wall.\n\n");
   printf("1 shinichiro of hamaji on the wall, 1 shinichiro of hamaji.\n");
   printf("Go to the store and buy some more, 99 shinichiroes of hamaji on the wall.\n");
   return 0;
}

Sample output:

Compiling...
Running...
99 shinichiroes of hamaji on the wall, 99 shinichiroes of hamaji.
Take one down and pass it around, 98 shinichiroes of hamaji on the wall.

98 shinichiroes of hamaji on the wall, 98 shinichiroes of hamaji.
Take one down and pass it around, 97 shinichiroes of hamaji on the wall.

97 shinichiroes of hamaji on the wall, 97 shinichiroes of hamaji.
Take one down and pass it around, 96 shinichiroes of hamaji on the wall.

96 shinichiroes of hamaji on the wall, 96 shinichiroes of hamaji.
Take one down and pass it around, 95 shinichiroes of hamaji on the wall.

95 shinichiroes of hamaji on the wall, 95 shinichiroes of hamaji.
Take one down and pass it around, 94 shinichiroes of hamaji on the wall.

94 shinichiroes of hamaji on the wall, 94 shinichiroes of hamaji.
Take one down and pass it around, 93 shinichiroes of hamaji on the wall.

93 shinichiroes of hamaji on the wall, 93 shinichiroes of hamaji.
Take one down and pass it around, 92 shinichiroes of hamaji on the wall.

92 shinichiroes of hamaji on the wall, 92 shinichiroes of hamaji.
Take one down and pass it around, 91 shinichiroes of hamaji on the wall.

91 shinichiroes of hamaji on the wall, 91 shinichiroes of hamaji.
Take one down and pass it around, 90 shinichiroes of hamaji on the wall.

90 shinichiroes of hamaji on the wall, 90 shinichiroes of hamaji.
Take one down and pass it around, 89 shinichiroes of hamaji on the wall.

89 shinichiroes of hamaji on the wall, 89 shinichiroes of hamaji.
Take one down and pass it around, 88 shinichiroes of hamaji on the wall.

88 shinichiroes of hamaji on the wall, 88 shinichiroes of hamaji.
Take one down and pass it around, 87 shinichiroes of hamaji on the wall.

87 shinichiroes of hamaji on the wall, 87 shinichiroes of hamaji.
Take one down and pass it around, 86 shinichiroes of hamaji on the wall.

86 shinichiroes of hamaji on the wall, 86 shinichiroes of hamaji.
Take one down and pass it around, 85 shinichiroes of hamaji on the wall.

85 shinichiroes of hamaji on the wall, 85 shinichiroes of hamaji.
Take one down and pass it around, 84 shinichiroes of hamaji on the wall.

84 shinichiroes of hamaji on the wall, 84 shinichiroes of hamaji.
Take one down and pass it around, 83 shinichiroes of hamaji on the wall.

83 shinichiroes of hamaji on the wall, 83 shinichiroes of hamaji.
Take one down and pass it around, 82 shinichiroes of hamaji on the wall.

82 shinichiroes of hamaji on the wall, 82 shinichiroes of hamaji.
Take one down and pass it around, 81 shinichiroes of hamaji on the wall.

81 shinichiroes of hamaji on the wall, 81 shinichiroes of hamaji.
Take one down and pass it around, 80 shinichiroes of hamaji on the wall.

80 shinichiroes of hamaji on the wall, 80 shinichiroes of hamaji.
Take one down and pass it around, 79 shinichiroes of hamaji on the wall.

79 shinichiroes of hamaji on the wall, 79 shinichiroes of hamaji.
Take one down and pass it around, 78 shinichiroes of hamaji on the wall.

78 shinichiroes of hamaji on the wall, 78 shinichiroes of hamaji.
Take one down and pass it around, 77 shinichiroes of hamaji on the wall.

77 shinichiroes of hamaji on the wall, 77 shinichiroes of hamaji.
Take one down and pass it around, 76 shinichiroes of hamaji on the wall.

76 shinichiroes of hamaji on the wall, 76 shinichiroes of hamaji.
Take one down and pass it around, 75 shinichiroes of hamaji on the wall.

75 shinichiroes of hamaji on the wall, 75 shinichiroes of hamaji.
Take one down and pass it around, 74 shinichiroes of hamaji on the wall.

74 shinichiroes of hamaji on the wall, 74 shinichiroes of hamaji.
Take one down and pass it around, 73 shinichiroes of hamaji on the wall.

73 shinichiroes of hamaji on the wall, 73 shinichiroes of hamaji.
Take one down and pass it around, 72 shinichiroes of hamaji on the wall.

72 shinichiroes of hamaji on the wall, 72 shinichiroes of hamaji.
Take one down and pass it around, 71 shinichiroes of hamaji on the wall.

71 shinichiroes of hamaji on the wall, 71 shinichiroes of hamaji.
Take one down and pass it around, 70 shinichiroes of hamaji on the wall.

70 shinichiroes of hamaji on the wall, 70 shinichiroes of hamaji.
Take one down and pass it around, 69 shinichiroes of hamaji on the wall.

69 shinichiroes of hamaji on the wall, 69 shinichiroes of hamaji.
Take one down and pass it around, 68 shinichiroes of hamaji on the wall.

68 shinichiroes of hamaji on the wall, 68 shinichiroes of hamaji.
Take one down and pass it around, 67 shinichiroes of hamaji on the wall.

67 shinichiroes of hamaji on the wall, 67 shinichiroes of hamaji.
Take one down and pass it around, 66 shinichiroes of hamaji on the wall.

66 shinichiroes of hamaji on the wall, 66 shinichiroes of hamaji.
Take one down and pass it around, 65 shinichiroes of hamaji on the wall.

65 shinichiroes of hamaji on the wall, 65 shinichiroes of hamaji.
Take one down and pass it around, 64 shinichiroes of hamaji on the wall.

64 shinichiroes of hamaji on the wall, 64 shinichiroes of hamaji.
Take one down and pass it around, 63 shinichiroes of hamaji on the wall.

63 shinichiroes of hamaji on the wall, 63 shinichiroes of hamaji.
Take one down and pass it around, 62 shinichiroes of hamaji on the wall.

62 shinichiroes of hamaji on the wall, 62 shinichiroes of hamaji.
Take one down and pass it around, 61 shinichiroes of hamaji on the wall.

61 shinichiroes of hamaji on the wall, 61 shinichiroes of hamaji.
Take one down and pass it around, 60 shinichiroes of hamaji on the wall.

60 shinichiroes of hamaji on the wall, 60 shinichiroes of hamaji.
Take one down and pass it around, 59 shinichiroes of hamaji on the wall.

59 shinichiroes of hamaji on the wall, 59 shinichiroes of hamaji.
Take one down and pass it around, 58 shinichiroes of hamaji on the wall.

58 shinichiroes of hamaji on the wall, 58 shinichiroes of hamaji.
Take one down and pass it around, 57 shinichiroes of hamaji on the wall.

57 shinichiroes of hamaji on the wall, 57 shinichiroes of hamaji.
Take one down and pass it around, 56 shinichiroes of hamaji on the wall.

56 shinichiroes of hamaji on the wall, 56 shinichiroes of hamaji.
Take one down and pass it around, 55 shinichiroes of hamaji on the wall.

55 shinichiroes of hamaji on the wall, 55 shinichiroes of hamaji.
Take one down and pass it around, 54 shinichiroes of hamaji on the wall.

54 shinichiroes of hamaji on the wall, 54 shinichiroes of hamaji.
Take one down and pass it around, 53 shinichiroes of hamaji on the wall.

53 shinichiroes of hamaji on the wall, 53 shinichiroes of hamaji.
Take one down and pass it around, 52 shinichiroes of hamaji on the wall.

52 shinichiroes of hamaji on the wall, 52 shinichiroes of hamaji.
Take one down and pass it around, 51 shinichiroes of hamaji on the wall.

51 shinichiroes of hamaji on the wall, 51 shinichiroes of hamaji.
Take one down and pass it around, 50 shinichiroes of hamaji on the wall.

50 shinichiroes of hamaji on the wall, 50 shinichiroes of hamaji.
Take one down and pass it around, 49 shinichiroes of hamaji on the wall.

49 shinichiroes of hamaji on the wall, 49 shinichiroes of hamaji.
Take one down and pass it around, 48 shinichiroes of hamaji on the wall.

48 shinichiroes of hamaji on the wall, 48 shinichiroes of hamaji.
Take one down and pass it around, 47 shinichiroes of hamaji on the wall.

47 shinichiroes of hamaji on the wall, 47 shinichiroes of hamaji.
Take one down and pass it around, 46 shinichiroes of hamaji on the wall.

46 shinichiroes of hamaji on the wall, 46 shinichiroes of hamaji.
Take one down and pass it around, 45 shinichiroes of hamaji on the wall.

45 shinichiroes of hamaji on the wall, 45 shinichiroes of hamaji.
Take one down and pass it around, 44 shinichiroes of hamaji on the wall.

44 shinichiroes of hamaji on the wall, 44 shinichiroes of hamaji.
Take one down and pass it around, 43 shinichiroes of hamaji on the wall.

43 shinichiroes of hamaji on the wall, 43 shinichiroes of hamaji.
Take one down and pass it around, 42 shinichiroes of hamaji on the wall.

42 shinichiroes of hamaji on the wall, 42 shinichiroes of hamaji.
Take one down and pass it around, 41 shinichiroes of hamaji on the wall.

41 shinichiroes of hamaji on the wall, 41 shinichiroes of hamaji.
Take one down and pass it around, 40 shinichiroes of hamaji on the wall.

40 shinichiroes of hamaji on the wall, 40 shinichiroes of hamaji.
Take one down and pass it around, 39 shinichiroes of hamaji on the wall.

39 shinichiroes of hamaji on the wall, 39 shinichiroes of hamaji.
Take one down and pass it around, 38 shinichiroes of hamaji on the wall.

38 shinichiroes of hamaji on the wall, 38 shinichiroes of hamaji.
Take one down and pass it around, 37 shinichiroes of hamaji on the wall.

37 shinichiroes of hamaji on the wall, 37 shinichiroes of hamaji.
Take one down and pass it around, 36 shinichiroes of hamaji on the wall.

36 shinichiroes of hamaji on the wall, 36 shinichiroes of hamaji.
Take one down and pass it around, 35 shinichiroes of hamaji on the wall.

35 shinichiroes of hamaji on the wall, 35 shinichiroes of hamaji.
Take one down and pass it around, 34 shinichiroes of hamaji on the wall.

34 shinichiroes of hamaji on the wall, 34 shinichiroes of hamaji.
Take one down and pass it around, 33 shinichiroes of hamaji on the wall.

33 shinichiroes of hamaji on the wall, 33 shinichiroes of hamaji.
Take one down and pass it around, 32 shinichiroes of hamaji on the wall.

32 shinichiroes of hamaji on the wall, 32 shinichiroes of hamaji.
Take one down and pass it around, 31 shinichiroes of hamaji on the wall.

31 shinichiroes of hamaji on the wall, 31 shinichiroes of hamaji.
Take one down and pass it around, 30 shinichiroes of hamaji on the wall.

30 shinichiroes of hamaji on the wall, 30 shinichiroes of hamaji.
Take one down and pass it around, 29 shinichiroes of hamaji on the wall.

29 shinichiroes of hamaji on the wall, 29 shinichiroes of hamaji.
Take one down and pass it around, 28 shinichiroes of hamaji on the wall.

28 shinichiroes of hamaji on the wall, 28 shinichiroes of hamaji.
Take one down and pass it around, 27 shinichiroes of hamaji on the wall.

27 shinichiroes of hamaji on the wall, 27 shinichiroes of hamaji.
Take one down and pass it around, 26 shinichiroes of hamaji on the wall.

26 shinichiroes of hamaji on the wall, 26 shinichiroes of hamaji.
Take one down and pass it around, 25 shinichiroes of hamaji on the wall.

25 shinichiroes of hamaji on the wall, 25 shinichiroes of hamaji.
Take one down and pass it around, 24 shinichiroes of hamaji on the wall.

24 shinichiroes of hamaji on the wall, 24 shinichiroes of hamaji.
Take one down and pass it around, 23 shinichiroes of hamaji on the wall.

23 shinichiroes of hamaji on the wall, 23 shinichiroes of hamaji.
Take one down and pass it around, 22 shinichiroes of hamaji on the wall.

22 shinichiroes of hamaji on the wall, 22 shinichiroes of hamaji.
Take one down and pass it around, 21 shinichiroes of hamaji on the wall.

21 shinichiroes of hamaji on the wall, 21 shinichiroes of hamaji.
Take one down and pass it around, 20 shinichiroes of hamaji on the wall.

20 shinichiroes of hamaji on the wall, 20 shinichiroes of hamaji.
Take one down and pass it around, 19 shinichiroes of hamaji on the wall.

19 shinichiroes of hamaji on the wall, 19 shinichiroes of hamaji.
Take one down and pass it around, 18 shinichiroes of hamaji on the wall.

18 shinichiroes of hamaji on the wall, 18 shinichiroes of hamaji.
Take one down and pass it around, 17 shinichiroes of hamaji on the wall.

17 shinichiroes of hamaji on the wall, 17 shinichiroes of hamaji.
Take one down and pass it around, 16 shinichiroes of hamaji on the wall.

16 shinichiroes of hamaji on the wall, 16 shinichiroes of hamaji.
Take one down and pass it around, 15 shinichiroes of hamaji on the wall.

15 shinichiroes of hamaji on the wall, 15 shinichiroes of hamaji.
Take one down and pass it around, 14 shinichiroes of hamaji on the wall.

14 shinichiroes of hamaji on the wall, 14 shinichiroes of hamaji.
Take one down and pass it around, 13 shinichiroes of hamaji on the wall.

13 shinichiroes of hamaji on the wall, 13 shinichiroes of hamaji.
Take one down and pass it around, 12 shinichiroes of hamaji on the wall.

12 shinichiroes of hamaji on the wall, 12 shinichiroes of hamaji.
Take one down and pass it around, 11 shinichiroes of hamaji on the wall.

11 shinichiroes of hamaji on the wall, 11 shinichiroes of hamaji.
Take one down and pass it around, 10 shinichiroes of hamaji on the wall.

10 shinichiroes of hamaji on the wall, 10 shinichiroes of hamaji.
Take one down and pass it around, 9 shinichiroes of hamaji on the wall.

9 shinichiroes of hamaji on the wall, 9 shinichiroes of hamaji.
Take one down and pass it around, 8 shinichiroes of hamaji on the wall.

8 shinichiroes of hamaji on the wall, 8 shinichiroes of hamaji.
Take one down and pass it around, 7 shinichiroes of hamaji on the wall.

7 shinichiroes of hamaji on the wall, 7 shinichiroes of hamaji.
Take one down and pass it around, 6 shinichiroes of hamaji on the wall.

6 shinichiroes of hamaji on the wall, 6 shinichiroes of hamaji.
Take one down and pass it around, 5 shinichiroes of hamaji on the wall.

5 shinichiroes of hamaji on the wall, 5 shinichiroes of hamaji.
Take one down and pass it around, 4 shinichiroes of hamaji on the wall.

4 shinichiroes of hamaji on the wall, 4 shinichiroes of hamaji.
Take one down and pass it around, 3 shinichiroes of hamaji on the wall.

3 shinichiroes of hamaji on the wall, 3 shinichiroes of hamaji.
Take one down and pass it around, 2 shinichiroes of hamaji on the wall.

2 shinichiroes of hamaji on the wall, 2 shinichiroes of hamaji.
Take one down and pass it around, 1 shinichiro of hamaji on the wall.

1 shinichiro of hamaji on the wall, 1 shinichiro of hamaji.
Go to the store and buy some more, 99 shinichiroes of hamaji on the wall.

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1flagitious920.24122007/03/18 16:29:130B / 43B / 43B
2leonid930.01412009/12/31 03:16:010B / 47B / 38B
3shinh940.63882007/03/18 15:06:190B / 44B / 44B
4irori950.23232007/03/18 01:02:090B / 44B / 47B
5jpl1120.03972014/06/20 20:44:110B / ?B / ?B
6eban1180.22772007/03/20 13:37:120B / 57B / 57B
7Histocrat1370.04382014/08/14 22:19:080B / ?B / ?B
8konn1420.22622007/03/18 01:24:080B / 68B / 60B
9bk1e1520.04072014/02/24 16:30:340B / 68B / 77B
10ehird(REAL, less robust)2010.18422008/02/07 02:04:2510B / ?B / ?B
11ehird(REAL)2240.23802008/02/07 02:00:2810B / ?B / ?B
12tabasa2430.22762007/10/09 12:17:513B / 124B / 107B

Perl _

RankUserSizeTimeDateStatistics
1shinh950.12552007/03/18 15:09:490B / 42B / 47B
2Mithran1060.50412007/05/09 02:26:130B / ?B / ?B
3ySas1070.12902007/03/18 01:36:400B / 51B / 49B
4dcutter1360.00352010/02/10 23:24:250B / 70B / 62B

Python _

RankUserSizeTimeDateStatistics
1Mark Byers1710.48922007/04/02 00:39:2492B / 49B / 28B
2hallvabo1710.06662012/06/30 17:14:30101B / 47B / 23B
3hallvabo (nobin)1770.07192012/06/30 16:53:380B / 91B / 76B
4Mark Byers (no binary)1920.87742007/04/02 00:24:280B / 89B / 95B
5SeeNoEvil2170.34812007/04/02 05:31:240B / 128B / 79B
6mroman2470.22522012/06/30 17:45:080B / 130B / 103B

PHP _

RankUserSizeTimeDateStatistics
1o-cn1550.20522010/05/18 23:06:090B / 84B / 68B
2primo1690.04702010/04/16 02:47:510B / 87B / 76B
3F@L6440.18982009/10/05 01:36:270B / ?B / ?B
4pecet7740.25932009/02/08 22:46:280B / 252B / 518B

Common LISP _

RankUserSizeTimeDateStatistics
1kozima4570.70142007/06/03 11:56:520B / 238B / 172B

JavaScript _

RankUserSizeTimeDateStatistics
1murky-satyr1410.03452010/03/28 03:50:590B / 80B / 60B
2xulapp1410.00672010/04/19 06:48:420B / 79B / 61B

Lua _

RankUserSizeTimeDateStatistics
1_5480.03352013/07/20 04:21:050B / 347B / 154B

Prolog _

RankUserSizeTimeDateStatistics
1mskzzzz5411.51512007/05/23 01:00:310B / 286B / 207B

C _

RankUserSizeTimeDateStatistics
151b(embed)3980.08852007/07/24 20:25:340B / 219B / 157B
251b4010.07562007/07/24 20:22:300B / 222B / 157B
351b(↑embed)4010.09392007/07/24 20:24:590B / 222B / 157B

OCaml _

RankUserSizeTimeDateStatistics
1ksk4260.34012007/03/25 19:34:550B / 232B / 153B
2m.ukai5060.34992007/03/23 23:00:140B / 306B / 145B

Haskell _

RankUserSizeTimeDateStatistics
1rst763300.06572012/04/10 23:04:560B / 206B / 108B
2masterq6250.00582011/09/13 01:07:3312B / ?B / ?B

Pascal _

RankUserSizeTimeDateStatistics
1*yuko*4760.03432011/06/19 03:06:300B / 310B / 116B

Fortran _

RankUserSizeTimeDateStatistics
1*yuko*4470.04222011/12/10 17:05:500B / 267B / 146B

Asymptote _

RankUserSizeTimeDateStatistics
1teebee1210.97072011/12/18 08:45:050B / 71B / 45B
2xulapp1232.84582010/07/10 23:08:140B / 74B / 44B

AWK _

RankUserSizeTimeDateStatistics
1nn3000.04612008/07/12 14:26:030B / 159B / 123B

sed _

RankUserSizeTimeDateStatistics
1emoken7240.09342007/03/27 12:52:100B / ?B / ?B

Bash _

RankUserSizeTimeDateStatistics
1eban430.19432010/02/18 02:03:030B / 24B / 13B
2shinh441.24892007/03/18 14:07:370B / 25B / 13B
3teebee440.38202010/11/22 12:32:100B / 26B / 14B
4flagitious481.37692007/03/17 23:28:220B / 28B / 14B
5kt3k521.35412007/08/27 10:00:540B / 32B / 14B
6nfouille540.13882013/07/08 04:54:060B / ?B / ?B
7ehird580.76202008/01/19 04:08:321B / 37B / 16B
8idealmachine630.33752010/11/22 14:18:240B / 38B / 19B

Zsh _

RankUserSizeTimeDateStatistics
1eban410.32052011/09/12 20:49:300B / 20B / 16B
2zzo38420.35702011/06/19 08:45:400B / 20B / 20B

Postscript _

RankUserSizeTimeDateStatistics
1ySas7550.86532007/06/03 20:11:29186B / 277B / 261B

Groovy _

RankUserSizeTimeDateStatistics
1murky-satyr623.64262009/12/31 13:34:460B / 42B / 19B
2nn623.69202009/12/31 13:59:360B / 42B / 19B

Language Ranking_

RankLangUserSizeScore
1Zsheban4110000
2Basheban439534
3Groovymurky-satyr626612
4Rubyflagitious924456
5Perlshinh954315
6Asymptoteteebee1213388
7JavaScriptmurky-satyr1412907
8PHPo-cn1552645
9PythonMark Byers1712397
10AWKnn3001366
11Haskellrst763301242
12C51b(embed)3981030
13OCamlksk426962
14Fortran*yuko*447917
15Common LISPkozima457897
16Pascal*yuko*476861
17Prologmskzzzz541757
18Lua_548748
19sedemoken724566
20PostscriptySas755543

Referer

Note that, they may contain spoilers.

return top