Pagini recente » Borderou de evaluare (job #1223051) | Borderou de evaluare (job #2450026) | Borderou de evaluare (job #1249080) | Borderou de evaluare (job #1643672) | Borderou de evaluare (job #2052626)
Borderou de evaluare (job #2052626)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:15:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
^
user.cpp: In function ‘void dfs1(int, int)’:
user.cpp:22:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
^
user.cpp:26:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:52:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<v[i].size();j++)
^
user.cpp:37:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mvc.in","r",stdin);
^
user.cpp:38:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mvc.out","w",stdout);
^
user.cpp:40:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:41:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) scanf("%d",&c[i]);
^
user.cpp:44:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
user.cpp:60:17: warning: ‘nod2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
dfs1(1,nod2);
^
user.cpp:57:17: warning: ‘nod1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
dfs1(1,nod1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1456kb | OK | 10 |
2 | 0ms | 1460kb | OK | 10 |
3 | 0ms | 1460kb | OK | 10 |
4 | 0ms | 1520kb | OK | 10 |
5 | 8ms | 1860kb | OK | 10 |
6 | 24ms | 2528kb | OK | 10 |
7 | 100ms | 4372kb | OK | 10 |
8 | 264ms | 7272kb | OK | 10 |
9 | 288ms | 9352kb | OK | 10 |
10 | 232ms | 4968kb | OK | 10 |
Punctaj total | 100 |