Nelyginis kiekis

Taškai: 71.4

Compile: OK

nelyginis.cpp: In function ‘int main()’: nelyginis.cpp:64:17: warning: range-based for loop without a type-specifier only available with -std=c++1z or -std=gnu++1z for (i : u){ ^ nelyginis.cpp:43:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d %d", &n, &q); ^ nelyginis.cpp:46:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d", &a[i]); ^ nelyginis.cpp:52:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %c %d %d", &c, &l, &r); ^

nr.resulttimemessage
1True0.0 sok
2False0.736 sTime limit exceeded
3True0.0 sok
4True0.0 sok
5True0.452 sok
6True0.232 sok
7False0.788 sTime limit exceeded (wall clock)