Šaulys 2

Taškai: 0

Compile: FAIL

saul2.cpp: In function ‘int main()’: saul2.cpp:66:29: error: request for member ‘val’ in ‘medis[x]’, which is of non-class type ‘node [2002]’ if(medis[x].val == 0) continue; ^ saul2.cpp:47:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ saul2.cpp:54:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %c", &a); ^ saul2.cpp:58:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d",&x, &y); ^ saul2.cpp:63:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d%d%d",&x1, &x2, &y1, &y2); ^

nr.resulttimemessage