Pagini recente » Borderou de evaluare (job #2572718) | Borderou de evaluare (job #298473) | Borderou de evaluare (job #1940087) | Borderou de evaluare (job #2683058) | Borderou de evaluare (job #1700807)
Borderou de evaluare (job #1700807)
Raport evaluator
Compilare:
user.cpp: In function ‘void combine(std::vector<int>&, std::vector<int>&)’:
user.cpp:42:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < source.size(); i++)
^
user.cpp: In function ‘void get_best(int)’:
user.cpp:68:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j < decr[ list[node][i] ]->size(); j++) {
^
user.cpp:84:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j < decr[ list[node][i] ]->size(); j++) {
^
user.cpp: In function ‘void dfs(int)’:
user.cpp:108:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < list[node].size(); i++) {
^
user.cpp:133:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 1; i < list[node].size(); i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:147:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("treemis.in","r",stdin);
^
user.cpp:148:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("treemis.out","w",stdout);
^
user.cpp:150:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:151:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i = 1; i <= n; i++) scanf("%d", &v[i]);
^
user.cpp:153:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y); x++; y++;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 2816kb | OK | 10 | 10 |
2 | 4ms | 2876kb | OK | 10 | 10 |
3 | 76ms | 7044kb | OK | 10 | 0 |
4 | 96ms | 7336kb | Incorect | 0 |
5 | 276ms | 6392kb | Incorect | 0 |
6 | 104ms | 5856kb | Incorect | 0 |
7 | 160ms | 11020kb | OK | 10 | 0 |
8 | 212ms | 8900kb | OK | 10 |
9 | 196ms | 11828kb | Incorect | 0 |
10 | Depăşit | 9460kb | Time limit exceeded. | 0 |
Punctaj total | 20 |