lld和I64d

Linux用lld
windows用I64d

#include
#include
#include
#include
#include
using namespace std;
int n,m;
long long x,y;
int main(){
//  scanf("%d%d",&n,&m);
    srand((unsigned)time(NULL));
    n=rand()%10+1;
    m=rand()%10+1;
    x=pow(n,m);
    y=round(pow(n,m));
    cout<' '<'\n';
    printf("%lld %lld\n",x,y);
    printf("%I64d %I64d\n",x,y);
}

你可能感兴趣的:(lld和I64d)