Pagini recente » Borderou de evaluare (job #2472793) | Borderou de evaluare (job #3190903) | Borderou de evaluare (job #1721970) | Borderou de evaluare (job #2921715) | Borderou de evaluare (job #1945614)
Borderou de evaluare (job #1945614)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mts.in", "r", stdin);
^
user.cpp:40:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mts.out", "w", stdout);
^
user.cpp:42:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &k, &t);
^
user.cpp:44:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &s[i]);
^
user.cpp:48:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x[i]);
^
user.cpp: In function ‘int bs1(int, int, int, int, int, int)’:
user.cpp:23:10: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return last;
^
user.cpp: In function ‘int bs2(int, int, int, int, int, int)’:
user.cpp:36:10: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return last;
^
user.cpp: In function ‘int main()’:
user.cpp:57:27: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
maxim = max(maxim, dr - st + 1);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 280kb | Incorect | 0 |
| 2 | 0ms | 272kb | OK | 5 |
| 3 | 0ms | 276kb | OK | 5 |
| 4 | 16ms | 544kb | Incorect | 0 |
| 5 | 44ms | 1020kb | Incorect | 0 |
| 6 | 40ms | 984kb | Incorect | 0 |
| 7 | 44ms | 1032kb | Incorect | 0 |
| 8 | 44ms | 1064kb | OK | 5 |
| 9 | 56ms | 1064kb | OK | 5 |
| 10 | 88ms | 1840kb | Incorect | 0 |
| 11 | 88ms | 1528kb | Incorect | 0 |
| 12 | 96ms | 1836kb | Incorect | 0 |
| 13 | 104ms | 1840kb | Incorect | 0 |
| 14 | 0ms | 276kb | OK | 5 |
| 15 | 24ms | 668kb | OK | 5 |
| 16 | 100ms | 1836kb | OK | 5 |
| 17 | 100ms | 1844kb | OK | 5 |
| 18 | 104ms | 1840kb | OK | 5 |
| 19 | 104ms | 1840kb | OK | 5 |
| 20 | 0ms | 280kb | Incorect | 0 |
| Punctaj total | 50 |