Pagini recente » Borderou de evaluare (job #984823) | Borderou de evaluare (job #347870) | Borderou de evaluare (job #2436071) | Borderou de evaluare (job #750458) | Borderou de evaluare (job #2024618)
Borderou de evaluare (job #2024618)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:27: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:42:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j;
^
user.cpp:5:11: warning: unused variable ‘first’ [-Wunused-variable]
#define x first
^
user.cpp:46:9: note: in expansion of macro ‘x’
int x,y,cnt2=0;
^
user.cpp:6:11: warning: unused variable ‘second’ [-Wunused-variable]
#define y second
^
user.cpp:46:11: note: in expansion of macro ‘y’
int x,y,cnt2=0;
^
user.cpp:39:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("grarb.in","r",stdin);
^
user.cpp:40:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("grarb.out","w",stdout);
^
user.cpp:44:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:49:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&cer[i].x,&cer[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 4176kb | OK | 10 |
2 | 4ms | 4180kb | Incorect | 0 |
3 | 4ms | 4180kb | OK | 10 |
4 | 4ms | 4192kb | Incorect | 0 |
5 | 20ms | 4304kb | Incorect | 0 |
6 | 16ms | 4380kb | Incorect | 0 |
7 | 72ms | 5196kb | Incorect | 0 |
8 | 72ms | 5176kb | Incorect | 0 |
9 | 212ms | 6880kb | Incorect | 0 |
10 | 88ms | 7400kb | OK | 10 |
Punctaj total | 30 |