Pagini recente » Borderou de evaluare (job #1134476) | Borderou de evaluare (job #202181) | Borderou de evaluare (job #1658286) | Borderou de evaluare (job #1174462) | Borderou de evaluare (job #1269971)
Borderou de evaluare (job #1269971)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrate6.in", "r", stdin);
^
user.cpp:13:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrate6.out", "w", stdout);
^
user.cpp:14:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:16:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:24:32: warning: array subscript is above array bounds [-Warray-bounds]
printf("%lld", Ap[NMAX]);
^
user.cpp:26:31: warning: array subscript is above array bounds [-Warray-bounds]
printf("%lld", Ap[NMAX] + 1);
^
user.cpp:20:31: warning: iteration 1000006u invokes undefined behavior [-Waggressive-loop-optimizations]
Ap[i + 1] += Ap[i] / 2;
^
user.cpp:19:5: note: containing loop
for(int i = 0; i <= NMAX; ++i){
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 28ms | 8060kb | Incorect | 0 |
✓ | 2 | 28ms | 8060kb | Incorect | 0 |
✓ | 3 | 32ms | 8060kb | Incorect | 0 |
✓ | 4 | 52ms | 8060kb | Incorect | 0 |
✓ | 5 | 28ms | 8064kb | Incorect | 0 |
✓ | 6 | 32ms | 8060kb | Incorect | 0 |
✓ | 7 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 8 | 0ms | 224kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 9 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 10 | 0ms | 228kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |