forked from DNAProject/DNA
-
Notifications
You must be signed in to change notification settings - Fork 1
循环自增
tanyuan edited this page Jul 28, 2017
·
1 revision
using Neo.SmartContract.Framework;
using Neo.SmartContract.Framework.Services.Neo;
class A : FunctionCode
{
public static int Main()
{
int sum = 0;
for (int i = 0; i < 10000; i++) {
sum++;
}
return sum;
}
}
执行码:52C56B006C766B00527AC4006C766B51527AC4621F006C766B00C351936C766B00527AC46C766B51C351936C766B51527AC46C766B51C30210279F63DBFF6C766B00C3616C7566
参数:空
结果:10000
作者:吕威