Pagini recente » Borderou de evaluare (job #3217962) | Borderou de evaluare (job #3135763) | Borderou de evaluare (job #1460715) | Borderou de evaluare (job #1508712) | Borderou de evaluare (job #1700810)
Borderou de evaluare (job #1700810)
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:65:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j < decr[ list[node][i] ]->size(); j++) {
^
user.cpp:80: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:106:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < list[node].size(); i++) {
^
user.cpp:131: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:145: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:146: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:148:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:149: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:151: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 | 0ms | 1648kb | OK | 10 | 10 |
2 | 4ms | 1708kb | OK | 10 | 10 |
3 | 76ms | 5836kb | OK | 10 | 0 |
4 | 88ms | 5752kb | Incorect | 0 |
5 | 240ms | 5084kb | OK | 10 |
6 | 100ms | 4700kb | Incorect | 0 |
7 | 156ms | 9784kb | OK | 10 | 0 |
8 | 204ms | 7756kb | OK | 10 |
9 | 176ms | 9844kb | Incorect | 0 |
10 | Depăşit | 8412kb | Time limit exceeded. | 0 |
Punctaj total | 20 |