Borderou de evaluare (job #775802)

Utilizator avatar tone_alexandru Tone Alexandru tone_alexandru IP ascuns
Problemă Combinări (clasa a 7-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 22 apr. 2024 13:12:09 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int combinari(int, int)': main.cpp:12:18: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 12 | if(rez.size()==k) | ~~~~~~~~~~^~~ main.cpp:27:1: warning: no return statement in function returning non-void [-Wreturn-type] 27 | } | ^ main.cpp:8:5: warning: infinite recursion detected [-Winfinite-recursion] 8 | int combinari(int a, int cnt) | ^~~~~~~~~ main.cpp:23:22: note: recursive call 23 | combinari(i, cnt+1); | ~~~~~~~~~^~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 59 ms 17408 kb Memory limit exceeded 0
2 59 ms 17010 kb Memory limit exceeded 0
3 59 ms 17670 kb Memory limit exceeded 0
4 59 ms 17674 kb Memory limit exceeded 0
5 58 ms 17149 kb Memory limit exceeded 0
6 59 ms 17272 kb Memory limit exceeded 0
7 59 ms 17399 kb Memory limit exceeded 0
8 59 ms 17559 kb Memory limit exceeded 0
9 59 ms 17408 kb Memory limit exceeded 0
10 59 ms 17408 kb Memory limit exceeded 0
Punctaj total 0