Pagini recente » Borderou de evaluare (job #1689546) | Borderou de evaluare (job #2740654) | Borderou de evaluare (job #3208352) | Borderou de evaluare (job #2579062) | Borderou de evaluare (job #2009455)
Borderou de evaluare (job #2009455)
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/ccum64O2.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 | 308kb | OK | 10 |
2 | 0ms | 316kb | OK | 10 |
3 | 0ms | 328kb | OK | 10 |
4 | 24ms | 10032kb | OK | 10 |
5 | 24ms | 10976kb | OK | 10 |
6 | 72ms | 27092kb | OK | 10 |
7 | 32ms | 10752kb | OK | 10 |
8 | 68ms | 19636kb | OK | 10 |
9 | 72ms | 22956kb | OK | 10 |
10 | 92ms | 30348kb | OK | 10 |
Punctaj total | 100 |