Pagini recente » Borderou de evaluare (job #53582) | Borderou de evaluare (job #1366810) | Borderou de evaluare (job #3039582) | Borderou de evaluare (job #1549423) | Borderou de evaluare (job #2444280)
Borderou de evaluare (job #2444280)
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 | 13ms | 262kb | OK | 7 |
2 | 14ms | 262kb | OK | 7 |
3 | 14ms | 262kb | OK | 7 |
4 | 14ms | 262kb | OK | 7 |
5 | 14ms | 262kb | OK | 7 |
6 | 14ms | 262kb | OK | 7 |
7 | 14ms | 262kb | OK | 7 |
8 | 14ms | 262kb | Incorect | 0 |
9 | 14ms | 262kb | Incorect | 0 |
10 | 14ms | 393kb | Incorect | 0 |
11 | 14ms | 393kb | Incorect | 0 |
12 | 15ms | 393kb | Incorect | 0 |
13 | 15ms | 393kb | Incorect | 0 |
14 | 17ms | 393kb | Incorect | 0 |
Punctaj total | 50 |