0_0_23939208_24563.cpp: In function 'int main()':
0_0_23939208_24563.cpp:5:20: error: 'scanf' was not declared in this scope
scanf("%d" , &t) ;
^
0_0_23939208_24563.cpp:10:9: error: 'll' was not declared in this scope
ll sum = 0 ;
^
0_0_23939208_24563.cpp:11:16: error: 'head' was not declared in this scope
memset(head , -1 , sizeof(head)) ;
^
0_0_23939208_24563.cpp:11:40: error: 'memset' was not declared in this scope
memset(head , -1 , sizeof(head)) ;
^
0_0_23939208_24563.cpp:12:9: error: 'nedge' was not declared in this scope
nedge = 0 ;
^
0_0_23939208_24563.cpp:15:16: error: expected ';' before 'a'
ll a , b ;int num ;
^
0_0_23939208_24563.cpp:19:39: error: 'a' was not declared in this scope
scanf("%lld%lld%d" , &a , &b , &m) ;
^
0_0_23939208_24563.cpp:19:44: error: 'b' was not declared in this scope
scanf("%lld%lld%d" , &a , &b , &m) ;
^
0_0_23939208_24563.cpp:20:20: error: expected ';' before 'w'
ll w = (ll)(b - a) ;
^
0_0_23939208_24563.cpp:21:20: error: 'w' was not declared in this scope
if(w > 0)
^
0_0_23939208_24563.cpp:23:21: error: 'sum' was not declared in this scope
sum += w ;
^
0_0_23939208_24563.cpp:24:29: error: 'st' was not declared in this scope
addedge(st , i*25+j , w) ;
^
0_0_23939208_24563.cpp:24:44: error: 'addedge' was not declared in this scope
addedge(st , i*25+j , w) ;
^
0_0_23939208_24563.cpp:26:39: error: 'en' was not declared in this scope
else addedge(i*25+j , en , -w) ;
^
0_0_23939208_24563.cpp:26:46: error: 'addedge' was not declared in this scope
else addedge(i*25+j , en , -w) ;
^
0_0_23939208_24563.cpp:31:47: error: 'inf' was not declared in this scope
addedge(i*25+j , u*25+v , inf) ;
^
0_0_23939208_24563.cpp:31:50: error: 'addedge' was not declared in this scope
addedge(i*25+j , u*25+v , inf) ;
^
0_0_23939208_24563.cpp:35:12: error: expected ';' before 'ans'
ll ans = 0 ;ll res ;
^
0_0_23939208_24563.cpp:35:24: error: expected ';' before 'res'
ll ans = 0 ;ll res ;
^
0_0_23939208_24563.cpp:36:19: error: 'bfs' was not declared in this scope
while(bfs())
^
0_0_23939208_24563.cpp:37:17: error: 'res' was not declared in this scope
while(res = dfs(st , inf))
^
0_0_23939208_24563.cpp:37:27: error: 'st' was not declared in this scope
while(res = dfs(st , inf))
^
0_0_23939208_24563.cpp:37:32: error: 'inf' was not declared in this scope
while(res = dfs(st , inf))
^
0_0_23939208_24563.cpp:37:35: error: 'dfs' was not declared in this scope
while(res = dfs(st , inf))
^
0_0_23939208_24563.cpp:38:13: error: 'ans' was not declared in this scope
ans += res ;
^
0_0_23939208_24563.cpp:39:36: error: 'printf' was not declared in this scope
printf("Case #%d: " , ++cas) ;
^
0_0_23939208_24563.cpp:40:27: error: 'sum' was not declared in this scope
printf("%lld\n" , sum - ans) ;
^
0_0_23939208_24563.cpp:40:33: error: 'ans' was not declared in this scope
printf("%lld\n" , sum - ans) ;
^
|