Pagini recente » Borderou de evaluare (job #3291605) | Borderou de evaluare (job #2658648) | Borderou de evaluare (job #541850) | Borderou de evaluare (job #1982250) | Borderou de evaluare (job #2444281)
Borderou de evaluare (job #2444281)
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:177:7: warning: unused variable 'res' [-Wunused-variable]
int res = backtrack(prime, exps, last_index + 1);
^~~
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:210:8:
for0(j, toate_primele.size())
~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:210:3: note: in expansion of macro 'for0'
for0(j, toate_primele.size())
^~~~
main.cpp:221:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 1; j < prime.size(); j++)
~~^~~~~~~~~~~~~~
main.cpp:229:19: warning: statement has no effect [-Wunused-value]
debug("got here");
^
main.cpp:189: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:190: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 | 328ms | 8765kb | OK | 7 |
2 | 341ms | 8765kb | OK | 7 |
3 | 341ms | 8765kb | OK | 7 |
4 | 315ms | 8765kb | OK | 7 |
5 | 325ms | 8765kb | OK | 7 |
6 | 338ms | 8765kb | OK | 7 |
7 | 339ms | 8765kb | OK | 7 |
8 | 341ms | 8765kb | OK | 7 |
9 | 343ms | 8765kb | OK | 7 |
10 | 317ms | 8683kb | OK | 7 |
11 | 337ms | 8765kb | OK | 7 |
12 | 341ms | 8765kb | OK | 7 |
13 | 315ms | 8765kb | OK | 7 |
14 | 274ms | 8765kb | Incorect | 0 |
Punctaj total | 93 |