Pagini recente » Borderou de evaluare (job #889807) | Borderou de evaluare (job #2455880) | Borderou de evaluare (job #2773349) | Borderou de evaluare (job #2908181) | Borderou de evaluare (job #1251223)
Borderou de evaluare (job #1251223)
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 |
1 | 108ms | Depăşit | Memory limit exceeded. | 0 |
2 | 108ms | Depăşit | Memory limit exceeded. | 0 |
3 | 108ms | Depăşit | Memory limit exceeded. | 0 |
4 | 108ms | Depăşit | Memory limit exceeded. | 0 |
5 | 108ms | Depăşit | Memory limit exceeded. | 0 |
6 | 108ms | Depăşit | Memory limit exceeded. | 0 |
7 | 104ms | Depăşit | Memory limit exceeded. | 0 |
8 | 104ms | Depăşit | Memory limit exceeded. | 0 |
9 | 104ms | Depăşit | Memory limit exceeded. | 0 |
10 | 104ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |