Pagini recente » Borderou de evaluare (job #1796108) | Borderou de evaluare (job #897144) | Cod sursa (job #1988159) | Borderou de evaluare (job #3173698) | Borderou de evaluare (job #1700812)
Borderou de evaluare (job #1700812)
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 | 1636kb | OK | 10 | 10 |
2 | 4ms | 1696kb | OK | 10 | 10 |
3 | 76ms | 5828kb | OK | 10 | 0 |
4 | 88ms | 5752kb | Incorect | 0 |
5 | 256ms | 5080kb | OK | 10 |
6 | 100ms | 4692kb | Incorect | 0 |
7 | 164ms | 9780kb | OK | 10 | 0 |
8 | 208ms | 7752kb | OK | 10 |
9 | 176ms | 9828kb | Incorect | 0 |
10 | Depăşit | 7884kb | Time limit exceeded. | 0 |
Punctaj total | 20 |