Užklausos

Taškai: 0

Compile: FAIL

uzklausos.cpp:16:28: error: conversion from ‘int’ to non-scalar type ‘vir’ requested vir medis[60100] = {0, 0, 0}; ^ uzklausos.cpp:16:28: error: conversion from ‘int’ to non-scalar type ‘vir’ requested uzklausos.cpp:16:28: error: conversion from ‘int’ to non-scalar type ‘vir’ requested uzklausos.cpp: In function ‘int main()’: uzklausos.cpp:76:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ uzklausos.cpp:78:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &masyvas[i]); ^ uzklausos.cpp:80:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &k); ^ uzklausos.cpp:85:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a); scanf("%d", &b); scanf("%d", &c); ^ uzklausos.cpp:85:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a); scanf("%d", &b); scanf("%d", &c); ^ uzklausos.cpp:85:59: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a); scanf("%d", &b); scanf("%d", &c); ^

nr.resulttimemessage