Pagini recente » Borderou de evaluare (job #529655) | Borderou de evaluare (job #42688) | Borderou de evaluare (job #978534) | Borderou de evaluare (job #171347) | Borderou de evaluare (job #1700809)
Borderou de evaluare (job #1700809)
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:135: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:149: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:150: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:152:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:153: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:155: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 | 2812kb | OK | 10 | 10 |
2 | 4ms | 2872kb | OK | 10 | 10 |
3 | 76ms | 7040kb | OK | 10 | 0 |
4 | 100ms | 7340kb | Incorect | 0 |
5 | 256ms | 6396kb | OK | 10 |
6 | 104ms | 5872kb | Incorect | 0 |
7 | 160ms | 11020kb | OK | 10 | 0 |
8 | 216ms | 8928kb | OK | 10 |
9 | 196ms | 11840kb | Incorect | 0 |
10 | Depăşit | 9904kb | Time limit exceeded. | 0 |
Punctaj total | 20 |