Pagini recente » Borderou de evaluare (job #2042180) | Borderou de evaluare (job #2003256) | Borderou de evaluare (job #2201397) | Borderou de evaluare (job #3204254) | Borderou de evaluare (job #2004841)
Borderou de evaluare (job #2004841)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:17: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:44:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<triburi[i].size();++j)
^
user.cpp:48:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(l=0;l<g[val].size();++l)
^
user.cpp:55:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<triburi[i].size();++j)
^
user.cpp:27:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tribes.in","r",stdin);
^
user.cpp:28:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tribes.out","w",stdout);
^
user.cpp:30:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&k);
^
user.cpp:32:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]),triburi[v[i]].push_back(i);
^
user.cpp:35: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 |
Punctaj/grupa |
✓ | 1 | 4ms | 2696kb | OK | 10 | 30 |
✓ | 2 | 4ms | 2688kb | OK | 10 |
✓ | 3 | 4ms | 2696kb | OK | 10 |
✓ | 4 | 2060ms | 5500kb | OK | 10 | 0 |
✓ | 5 | Depăşit | 5736kb | Time limit exceeded. | 0 |
✓ | 6 | 2056ms | 5280kb | OK | 10 |
✓ | 7 | 2052ms | 5280kb | OK | 10 |
✓ | 8 | 600ms | 5308kb | OK | 10 |
✓ | 9 | Depăşit | 6624kb | Time limit exceeded. | 0 | 0 |
✓ | 10 | 508ms | 4048kb | OK | 10 |
Punctaj total | 30 |