WWW: bbone.ideone.com1
BBone is an add-on for phpBB forums which allows to share source codes and provides the ability to compile and run them. All this thanks to the Ideone.com service.
The main features are:
* syntax highlighting,
* testing source codes against user input,
* creating mini-contests for forum co-members.
Examples
[bbone=python]
print 'hello!'
for i in xrange(0,5):
print i
[/bbone]
[bbone=python,6]
print 'hello!'
for i in xrange(0,5):
print i
[/bbone]
[bbone=cpp]
#include <iostream>
using namespace std;
int main()
{
string a; cin >> a;
cout << "Hello, " << a << endl;
}
[/bbone]
[bbone=cpp,7]
include
using namespace std;
int main()
{
string a; cin >> a;
cout << "Hello, " << a << endl;
}
[/bbone]
https://www.spoj.pl/problems/TEST/
[bbone=c,contest]
[input]
input
[/input]
source code
[/bbone]
[bbone=c,contest,8]
[input]
1
2
3
4
5
6
7
8
9
0
9
8
7
6
5
4
3
2
1
11
21
31
41
51
61
71
81
91
99
89
79
69
59
49
39
29
19
42
3
6
11
[/input]
include
int main(void) {
int x;
for(; scanf("%d",&x) > 0 && x != 42; printf("%d\n", x));
return 0;
}
[/bbone]
created
last reply
- 1
reply
- 998
views
- 1
user
- 2
links