Pagini recente » Borderou de evaluare (job #2676379) | Borderou de evaluare (job #2675825) | Borderou de evaluare (job #1171139) | Borderou de evaluare (job #2263031) | Borderou de evaluare (job #2773681)
Borderou de evaluare (job #2773681)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:47:21: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
scanf("%lld", &n);
^
main.cpp:53:47: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=]
printf("%lld ", Kadane(arr, n, pos1, pos2));
^
main.cpp:41:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ssm.in", "r", stdin);
^
main.cpp:42:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ssm.out", "w", stdout);
^
main.cpp:47:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &n);
^
main.cpp:50:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 5 |
| 2 | 2ms | 131kb | OK | 5 |
| 3 | 2ms | 131kb | Incorect | 0 |
| 4 | 2ms | 131kb | Incorect | 0 |
| 5 | 4ms | 262kb | OK | 5 |
| 6 | 6ms | 262kb | OK | 5 |
| 7 | 9ms | 393kb | OK | 5 |
| 8 | 12ms | 393kb | OK | 5 |
| 9 | 35ms | 786kb | OK | 5 |
| 10 | 73ms | 1306kb | Incorect | 0 |
| 11 | 131ms | 2482kb | OK | 5 |
| 12 | 191ms | 4444kb | OK | 5 |
| 13 | 273ms | 4444kb | OK | 5 |
| 14 | 308ms | 4444kb | OK | 5 |
| 15 | 1277ms | 33792kb | OK | 5 |
| 16 | 1394ms | 33792kb | OK | 5 |
| 17 | 1403ms | 33792kb | OK | 5 |
| 18 | 1532ms | 33792kb | OK | 5 |
| 19 | 1603ms | 33792kb | Time limit exceeded | 0 |
| 20 | 1603ms | 33947kb | Time limit exceeded | 0 |
| Punctaj total | 75 |