Pagini recente » Borderou de evaluare (job #2194873) | Borderou de evaluare (job #1367585) | Borderou de evaluare (job #710953) | Borderou de evaluare (job #2091482) | Borderou de evaluare (job #1536599)
Borderou de evaluare (job #1536599)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:41:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d",&t);
^
user.cpp:44:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d%I64d",&n,&k);
^
user.cpp:44:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:45:68: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d\n",(log1(fact1[k],n/k+1)*supra(k-(n%k)))%mod1);
^
user.cpp:37:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cabana.in","r",stdin);
^
user.cpp:38:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cabana.out","w",stdout);
^
user.cpp:41:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d",&t);
^
user.cpp:44:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d%I64d",&n,&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 692ms | 8092kb | Incorect | 0 |
Punctaj total | 0 |