Pagini recente » Borderou de evaluare (job #1068974) | Borderou de evaluare (job #1761792) | Borderou de evaluare (job #3129136) | Borderou de evaluare (job #2581394) | Borderou de evaluare (job #1665064)
Borderou de evaluare (job #1665064)
Raport evaluator
Compilare:
user.cpp: In function ‘void first_dfs(int)’:
user.cpp:15:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();i++){
^
user.cpp:23:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();i++){
^
user.cpp: In function ‘void second_dfs(int)’:
user.cpp:33:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();i++){
^
user.cpp: In function ‘int main()’:
user.cpp:46:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbvalmax.in","r",stdin);
^
user.cpp:47:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbvalmax.out","w",stdout);
^
user.cpp:49:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&t);
^
user.cpp:51:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&dad[i]);
^
user.cpp:55:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&value[i]);
^
user.cpp:59:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 3872kb | OK | 10 |
2 | 4ms | 3868kb | OK | 10 |
3 | 12ms | 3872kb | OK | 10 |
4 | 12ms | 3868kb | OK | 10 |
5 | 40ms | 4860kb | OK | 10 |
6 | 168ms | 8968kb | OK | 10 |
7 | 260ms | 11564kb | OK | 10 |
8 | 456ms | 17200kb | OK | 10 |
9 | 488ms | 18228kb | OK | 10 |
10 | 524ms | 19228kb | OK | 10 |
Punctaj total | 100 |