Pagini recente » Borderou de evaluare (job #775537) | Borderou de evaluare (job #252050) | Borderou de evaluare (job #2698670) | Borderou de evaluare (job #1717135) | Borderou de evaluare (job #1432715)
Borderou de evaluare (job #1432715)
Raport evaluator
Compilare:
user.cpp: In function ‘void parcurge(int)’:
user.cpp:14:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0;j<v[x].size();j++) if (!viz[v[x][j]])
^
user.cpp: In function ‘int main()’:
user.cpp:23:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("asmax.in","r",stdin);
^
user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("asmax.out","w",stdout);
^
user.cpp:25:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:26:53: 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",&a[i]),rez[i]=-INF;
^
user.cpp:27:82: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=n-1;i++) scanf("%d %d",&x,&y),v[x].push_back(y),v[y].push_back(x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 884kb | OK | 10 |
2 | 0ms | 460kb | OK | 10 |
3 | 0ms | 464kb | OK | 10 |
4 | 0ms | 452kb | OK | 10 |
5 | 0ms | 460kb | OK | 10 |
6 | 0ms | 460kb | OK | 10 |
7 | 8ms | 776kb | OK | 10 |
8 | 16ms | 876kb | OK | 10 |
9 | 16ms | 884kb | OK | 10 |
10 | 16ms | 880kb | OK | 10 |
Punctaj total | 100 |