Intervalo maksimumas

Taškai: 20

Compile: OK

intMax.cpp: In function ‘int main()’: intMax.cpp:74:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i %i", &n, &q); ^ intMax.cpp:82:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i",&(tree[treeSize - 1 + i])); ^ intMax.cpp:86:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i %i %i", &a, &b, &c); ^

nr.resulttimemessage
1False0.0 sNeteisinga eilutė
2False1.088 sTime limit exceeded (wall clock)
3False1.076 sTime limit exceeded (wall clock)
4True0.544 sok
5False1.08 sTime limit exceeded (wall clock)