Ilgiausias bendras posekis

Taškai: 100

Compile: OK

bendras.cpp: In function ‘int main()’: bendras.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bendras.in", "r", stdin); ^ bendras.cpp:10:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bendras.out", "w", stdout); ^ bendras.cpp:15:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ bendras.cpp:18:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &A[i]); ^ bendras.cpp:20:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ bendras.cpp:23:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &B[i]); ^

nr.resulttimemessage
1True0.0 sAtsakymas teisingas!
2True0.0 sAtsakymas teisingas!
3True0.004 sAtsakymas teisingas!
4True0.0 sAtsakymas teisingas!
5True0.0 sAtsakymas teisingas!
6True0.012 sAtsakymas teisingas!
7True0.012 sAtsakymas teisingas!
8True0.016 sAtsakymas teisingas!
9True0.008 sAtsakymas teisingas!
10True0.012 sAtsakymas teisingas!