Pagini recente » Borderou de evaluare (job #2893594) | Borderou de evaluare (job #2014218) | Borderou de evaluare (job #2419329) | Borderou de evaluare (job #554535) | Borderou de evaluare (job #2781018)
Borderou de evaluare (job #2781018)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:51:29: warning: unused variable 'factx' [-Wunused-variable]
51 | long long posibilitati, factx;
| ^~~~~
main.cpp:54:15: warning: unused variable 'b' [-Wunused-variable]
54 | int t, i, b, j;
| ^
main.cpp:54:18: warning: unused variable 'j' [-Wunused-variable]
54 | int t, i, b, j;
| ^
main.cpp: In function 'void genereaza()':
main.cpp:45:13: warning: iteration 999998 invokes undefined behavior [-Waggressive-loop-optimizations]
45 | fact[i] = fact[i - 1] * i % MODM;
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:44:17: note: within this loop
44 | for( i = 2; i <= MAXK; i++){
| ~~^~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 289ms | 9277kb | Incorect | 0 |
Punctaj total | 0 |