Pagini recente » Borderou de evaluare (job #862162) | Borderou de evaluare (job #892421) | Borderou de evaluare (job #2670501) | Borderou de evaluare (job #2224856) | Borderou de evaluare (job #2020098)
Borderou de evaluare (job #2020098)
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 | 2692kb | OK | 10 | 30 |
2 | 4ms | 2684kb | OK | 10 |
3 | 4ms | 2700kb | OK | 10 |
4 | 2060ms | 5500kb | OK | 10 | 0 |
5 | Depăşit | 5732kb | Time limit exceeded. | 0 |
6 | 2044ms | 5280kb | OK | 10 |
7 | 2056ms | 5280kb | OK | 10 |
8 | 592ms | 5308kb | OK | 10 |
9 | Depăşit | 6628kb | Time limit exceeded. | 0 | 0 |
10 | 504ms | 4052kb | OK | 10 |
Punctaj total | 30 |