Pagini recente » Borderou de evaluare (job #2871929) | Borderou de evaluare (job #1912607) | Borderou de evaluare (job #1224710) | Borderou de evaluare (job #1695890) | Borderou de evaluare (job #1611081)
Borderou de evaluare (job #1611081)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:58: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",((fa[n]*inv(fa[k]))%md*inv(fa[n-k]))%md);
^
user.cpp:27:17: warning: unused variable ‘j’ [-Wunused-variable]
int n,k,w,i,j;
^
user.cpp:25:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nmult.in","r",stdin);
^
user.cpp:26:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nmult.out","w",stdout);
^
user.cpp:29:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&k,&w);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | OK | 5 |
| 2 | 0ms | 276kb | OK | 5 |
| 3 | 0ms | 276kb | OK | 5 |
| 4 | 0ms | 268kb | OK | 5 |
| 5 | 0ms | 268kb | OK | 5 |
| 6 | 0ms | 272kb | OK | 5 |
| 7 | 0ms | 268kb | OK | 5 |
| 8 | 0ms | 276kb | OK | 5 |
| 9 | 0ms | 272kb | OK | 5 |
| 10 | 0ms | 276kb | OK | 5 |
| 11 | 0ms | 284kb | OK | 5 |
| 12 | 0ms | 320kb | OK | 5 |
| 13 | 0ms | 512kb | OK | 5 |
| 14 | 4ms | 608kb | OK | 5 |
| 15 | 12ms | 1564kb | OK | 5 |
| 16 | 20ms | 2220kb | OK | 5 |
| 17 | 28ms | 2876kb | OK | 5 |
| 18 | 28ms | 3256kb | Incorect | 0 |
| 19 | 28ms | 3220kb | Incorect | 0 |
| 20 | 32ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 85 |