Pagini recente »
Borderou de evaluare (job #174053)
|
Borderou de evaluare (job #172979)
|
Borderou de evaluare (job #170176)
|
Borderou de evaluare (job #174967)
|
Borderou de evaluare (job #842908)
Borderou de evaluare (job #842908)
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
|