Žurnalas

Taškai: 0

Compile: FAIL

zurnalas.cpp: In function ‘int tutisrand()’: zurnalas.cpp:26:29: error: ‘mod’ was not declared in this scope return ra = (37 * ra) % mod; ^ zurnalas.cpp: In function ‘int main()’: zurnalas.cpp:128:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d", &n); ^ zurnalas.cpp:132:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %1c %d %d", &c, &a, &b); ^ zurnalas.cpp:134:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] char sym; scanf(" %1c", &sym); ^

nr.resulttimemessage