Pagini recente » Borderou de evaluare (job #149815) | Borderou de evaluare (job #124779) | Borderou de evaluare (job #150538) | Borderou de evaluare (job #2186128) | Borderou de evaluare (job #2009453)
Borderou de evaluare (job #2009453)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:45:45: warning: operation on ‘k1’ may be undefined [-Wsequence-point]
v1[++k1] = v1[k1 - 1] + p1 * cs[i - 1];
^
user.cpp:73:45: warning: operation on ‘k2’ may be undefined [-Wsequence-point]
v2[++k2] = v2[k2 - 1] + cd[i + 1] * p1;
^
user.cpp:18:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("slide.in", "r", stdin);
^
user.cpp:19:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("slide.out", "w", stdout);
^
user.cpp:21:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s1 + 1);
^
/tmp/ccKT5PoM.o: In function `main':
user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 312kb | OK | 10 |
2 | 0ms | 324kb | OK | 10 |
3 | 0ms | 332kb | OK | 10 |
4 | 24ms | 10032kb | OK | 10 |
5 | 24ms | 10980kb | OK | 10 |
6 | 68ms | 27092kb | OK | 10 |
7 | 28ms | 10752kb | OK | 10 |
8 | 64ms | 19640kb | OK | 10 |
9 | 72ms | 22956kb | OK | 10 |
10 | 92ms | 30344kb | OK | 10 |
Punctaj total | 100 |