Borderou de evaluare (job #1251223)

Utilizator dht7166tran duc hoan dht7166 Data 29 octombrie 2014 05:42:30
Problema Radare Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int)’: user.cpp:11:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<adj[u].size();i++) ^ user.cpp: In function ‘int dem(int, int, int)’: user.cpp:24:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(con==E[cha].size()&&p==0) return 1; ^ user.cpp:25:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(con==E[cha].size()&&p!=0) return 0; ^ user.cpp: In function ‘int dp(int, int)’: user.cpp:40:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<E[u].size();i++) ^ user.cpp: In function ‘int main()’: user.cpp:56:16: warning: unused variable ‘j’ [-Wunused-variable] int n,p,u,v,i,j; ^ user.cpp:53:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("radare.in","r",stdin); ^ user.cpp:54:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("radare.out","w",stdout); ^ user.cpp:57:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&p); ^ user.cpp:60:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&u,&v); ^ user.cpp:66:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1108msDepăşitMemory limit exceeded.0
2108msDepăşitMemory limit exceeded.0
3108msDepăşitMemory limit exceeded.0
4108msDepăşitMemory limit exceeded.0
5108msDepăşitMemory limit exceeded.0
6108msDepăşitMemory limit exceeded.0
7104msDepăşitMemory limit exceeded.0
8104msDepăşitMemory limit exceeded.0
9104msDepăşitMemory limit exceeded.0
10104msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?