Pagini recente » Borderou de evaluare (job #2247402) | Borderou de evaluare (job #238133) | Borderou de evaluare (job #226522) | Borderou de evaluare (job #269384) | Borderou de evaluare (job #1400501)
Borderou de evaluare (job #1400501)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:43:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < s.size(); i++)
^
user.cpp: In function ‘long long int fac(long long int)’:
user.cpp:19:12: warning: ‘result’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return result;
^
user.cpp: In function ‘int locsika(int, int)’:
user.cpp:29:33: warning: ‘result’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return ((fac(n)%MOD)/(fac(k)*fac(n-k))%MOD)%MOD;
^
user.cpp:29:33: warning: ‘result’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:29:20: warning: ‘result’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return ((fac(n)%MOD)/(fac(k)*fac(n-k))%MOD)%MOD;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 448kb | OK | 5 |
| 2 | 0ms | 484kb | OK | 5 |
| 3 | 0ms | 552kb | OK | 5 |
| 4 | 0ms | 612kb | OK | 5 |
| 5 | 0ms | 452kb | Incorect | 0 |
| 6 | 0ms | 448kb | Incorect | 0 |
| 7 | 0ms | 456kb | Incorect | 0 |
| 8 | 0ms | 456kb | Incorect | 0 |
| 9 | 0ms | 460kb | Incorect | 0 |
| 10 | 0ms | 464kb | Incorect | 0 |
| 11 | 0ms | 492kb | Incorect | 0 |
| 12 | 0ms | 516kb | Incorect | 0 |
| 13 | 0ms | 532kb | Incorect | 0 |
| 14 | 4ms | 560kb | Incorect | 0 |
| 15 | 4ms | 564kb | Incorect | 0 |
| 16 | 4ms | 564kb | Incorect | 0 |
| 17 | 4ms | 560kb | Incorect | 0 |
| 18 | 4ms | 560kb | Incorect | 0 |
| 19 | 4ms | 612kb | Incorect | 0 |
| 20 | 4ms | 612kb | Incorect | 0 |
| Punctaj total | 20 |