Pagini recente » Borderou de evaluare (job #2317355) | Borderou de evaluare (job #2159903) | Borderou de evaluare (job #1717678) | Borderou de evaluare (job #765160) | Borderou de evaluare (job #2728062)
Borderou de evaluare (job #2728062)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:28:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i < ab.size(); ++i) ab[i] += ab[i - 1];
~~^~~~~~~~~~~
main.cpp:31:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = start; i < ab.size(); ++i) {
~~^~~~~~~~~~~
main.cpp:42:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(posinam + 1 < inam.size()) valinam = inam[posinam + 1];
~~~~~~~~~~~~^~~~~~~~~~~~~
main.cpp:43:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(posa + 1 < a.size()) vala = a[posa + 1];
~~~~~~~~~^~~~~~~~~~
main.cpp:44:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(posb + 1 < b.size()) valb = b[posb + 1];
~~~~~~~~~^~~~~~~~~~
main.cpp:16:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("grup.in", "r", stdin);
^
main.cpp:17:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("grup.out", "w", stdout);
^
main.cpp:18:48: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld%lld", &n, &s, &k1, &k2);
^
main.cpp:19:53: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= n; ++i) scanf("%lld", &v[i]);
^
main.cpp:20:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s%s", s1 + 1, s2 + 1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 3ms | 131kb | OK | 10 |
5 | 3ms | 131kb | OK | 10 |
6 | 22ms | 917kb | OK | 10 |
7 | 34ms | 1175kb | OK | 10 |
8 | 51ms | 1695kb | OK | 10 |
9 | 67ms | 2482kb | OK | 10 |
10 | 64ms | 2482kb | OK | 10 |
Punctaj total | 100 |