Pagini recente » Borderou de evaluare (job #2156698) | Borderou de evaluare (job #2463883) | Borderou de evaluare (job #652877) | Borderou de evaluare (job #2745817) | Borderou de evaluare (job #2444283)
Borderou de evaluare (job #2444283)
Raport evaluator
Compilare:
main.cpp: In function 'int backtrack(const std::vector<int>&, std::vector<int>, int&&)':
main.cpp:84:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define for0(i, n) for(int i = 0; i < n; ++i)
main.cpp:160:7:
for0(i, prime.size())
~~~~~~~~~~~~~~~
main.cpp:160:2: note: in expansion of macro 'for0'
for0(i, prime.size())
^~~~
main.cpp:180:7: warning: unused variable 'res' [-Wunused-variable]
int res = backtrack(prime, exps, last_index + 1);
^~~
main.cpp:159:5: warning: variable 'prev_' set but not used [-Wunused-but-set-variable]
ll prev_;
^~~~~
main.cpp: In function 'int32_t main()':
main.cpp:84:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define for0(i, n) for(int i = 0; i < n; ++i)
main.cpp:213:8:
for0(j, toate_primele.size())
~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:213:3: note: in expansion of macro 'for0'
for0(j, toate_primele.size())
^~~~
main.cpp:224:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 1; j < prime.size(); j++)
~~^~~~~~~~~~~~~~
main.cpp:232:19: warning: statement has no effect [-Wunused-value]
debug("got here");
^
main.cpp:192:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen(PROB_NAME".in", "r", stdin);
^
main.cpp:193:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen(PROB_NAME".out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 49ms | 1306kb | OK | 7 |
2 | 47ms | 1306kb | OK | 7 |
3 | 49ms | 1306kb | OK | 7 |
4 | 49ms | 1306kb | OK | 7 |
5 | 49ms | 1306kb | OK | 7 |
6 | 49ms | 1306kb | OK | 7 |
7 | 49ms | 1306kb | OK | 7 |
8 | 49ms | 1306kb | OK | 7 |
9 | 49ms | 1306kb | OK | 7 |
10 | 49ms | 1306kb | OK | 7 |
11 | 50ms | 1306kb | OK | 7 |
12 | 50ms | 1306kb | OK | 7 |
13 | 54ms | 1306kb | OK | 7 |
14 | 52ms | 1306kb | OK | 7 |
Punctaj total | 100 |