AVR32
hoyuka
hoyuka at c2.hu
Sat Mar 11 17:03:53 CET 2006
Marha jo!
Szerinted mi ertelme van a tombot 1000x ugyanazzal feltolteni :)))))
udv.
hoyuka
Auth Gábor said:
> Halihó!
>
> hoyuka ezt Ãrta:
>> - tombkezeles
>
> #include <stdio.h>
> int main()
> {
> int tomb[500000];
> for (int count2=0;count2<1000;count2++)
> {
> for (int count=0;count<500000;count++)
> {
> tomb[count]=count;
> }
> printf("%d\n",count2);
> }
>
> return 0;
> }
>
>> time ./proba
> real 0m4.062s
> user 0m3.516s
> sys 0m0.060s
>
> public class Proba
> {
> public static void main(String[] args)
> {
> int tomb[]=new int[500000];
> for (int count2=0;count2<1000;count2++)
> {
> for (int count=0;count<500000;count++)
> {
> tomb[count]=count;
> }
> System.out.println(count2);
> }
> }
> }
>
>> time java Proba
> real 0m2.516s
> user 0m2.012s
> sys 0m0.068s
>
>> Esetleg elso lepeskent csinalhatnank vmi egyszeru Huffman tomoritot,
>> raengednenk vmi nagy file-ra.
>
> Ez a vesszőparipád? :)
>
>> Na ha lesz idom, akor nekallok, most mar nekem is bassza a csoromet
>> ez a tema.
>
> Hajrá.
> --
> http://www.enaplo.hu - Iskolai Információs Rendszer
> Auth Gábor -=- FreeBSD 5.4 -=- http://bsd.lap.hu
> +36-70/9400-341 -=- ICQ: 49179141 -=- Skype: authgabor
>
> -----------------------------------
> Szponzorunk: http://tonerbolt.hu/
--
http://hoyuka.myip.hu
-------------------------------------
C2 MAIL: A nagy levelez-Õ. http://mail.c2.hu
More information about the Elektro
mailing list