PersonalCorpus 版 (精华区)

Your C++ program has solved Ok the problem 10106 (Product)
in 0.010 seconds using as much as 392 kbytes of virtual memory.


/*  @JUDGE_ID:  18188JK  10106  C++  "Testing ..."  */
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <memory.h>
#include <math.h>
#include <ctype.h>
#include <limits.h>

#include "longinteger.c"

void main()
{
#ifndef ONLINE_JUDGE
    freopen("c:\\0acm\\uva\\i10106","r",stdin);
    freopen("c:\\0acm\\uva\\o10106","w",stdout);
#endif

    struct longinteger a,b;
    char s[260];

    while (gets(s)!=NULL) {
        readLI(&a,s);
        gets(s);
        readLI(&b,s);
        mulLL2(&a,&b);
        printLI(&a); printf("\n");
    }
}
[百宝箱] [返回首页] [上级目录] [根目录] [返回顶部] [刷新] [返回]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:1.966毫秒