Borderou de evaluare (job #842908)

Utilizator avatar MyNickIsNick Nicolas C. MyNickIsNick IP ascuns
Problemă Permutări Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 21 nov. 2025 00:56:08 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void backtrack(std::vector<int>&, int&, std::vector<int>&, std::vector<char>&)': main.cpp:12:20: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 12 | if(perm.size() == N) { | ~~~~~~~~~~~~^~~~ main.cpp: In function 'int main()': main.cpp:40:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 40 | fscanf(in, "%d %d", &N, &K); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:42:38: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 42 | for(int i = 0; i < K; i++) fscanf(in, "%d", &A[i]); | ~~~~~~^~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 508 kb OK 10
2 0 ms 508 kb OK 10
3 1 ms 508 kb OK 10
4 1 ms 508 kb OK 10
5 0 ms 508 kb OK 10
6 1 ms 508 kb OK 10
7 1 ms 292 kb OK 10
8 3 ms 292 kb OK 10
9 22 ms 592 kb OK 10
10 21 ms 372 kb OK 10
Punctaj total 100