Pagini recente » Borderou de evaluare (job #2771563) | Borderou de evaluare (job #1866702) | Borderou de evaluare (job #395773) | Borderou de evaluare (job #2474806) | Borderou de evaluare (job #1945553)
Borderou de evaluare (job #1945553)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23: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:24: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:26: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:28:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &s[i]);
^
user.cpp:32: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 bs(int, int, int, int, int, int)’:
user.cpp:20:10: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return last;
^
user.cpp: In function ‘int main()’:
user.cpp:37: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 | 272kb | Incorect | 0 |
2 | 0ms | 272kb | Incorect | 0 |
3 | 0ms | 272kb | Incorect | 0 |
4 | 16ms | 540kb | Incorect | 0 |
5 | 44ms | 1008kb | Incorect | 0 |
6 | 36ms | 980kb | OK | 5 |
7 | 44ms | 1020kb | Incorect | 0 |
8 | 40ms | 1056kb | Incorect | 0 |
9 | 44ms | 1056kb | OK | 5 |
10 | 84ms | 1828kb | OK | 5 |
11 | 80ms | 1528kb | OK | 5 |
12 | 88ms | 1832kb | OK | 5 |
13 | 92ms | 1828kb | OK | 5 |
14 | 0ms | 276kb | OK | 5 |
15 | 24ms | 660kb | OK | 5 |
16 | 92ms | 1824kb | Incorect | 0 |
17 | 84ms | 1824kb | OK | 5 |
18 | 84ms | 1828kb | OK | 5 |
19 | 100ms | 1832kb | OK | 5 |
20 | 0ms | 272kb | OK | 5 |
Punctaj total | 60 |