Pagini recente » Borderou de evaluare (job #1911045) | Borderou de evaluare (job #193476) | Borderou de evaluare (job #1671987) | Borderou de evaluare (job #2220911) | Borderou de evaluare (job #1720557)
Borderou de evaluare (job #1720557)
Raport evaluator
Compilare:
user.cpp: In function ‘int getMaxSubsequence(int, int, int&, int&)’:
user.cpp:5:26: warning: integer overflow in expression [-Woverflow]
#define INFINIT ((1<<31)-1)
^
user.cpp:17:10: note: in expansion of macro ‘INFINIT’
int raw=INFINIT;
^
user.cpp:5:26: warning: integer overflow in expression [-Woverflow]
#define INFINIT ((1<<31)-1)
^
user.cpp:18:19: note: in expansion of macro ‘INFINIT’
bestsuf=bestpre=-INFINIT;
^
user.cpp:17:6: warning: unused variable ‘raw’ [-Wunused-variable]
int raw=INFINIT;
^
user.cpp: In function ‘int main()’:
user.cpp:51:8: warning: unused variable ‘f’ [-Wunused-variable]
FILE *f=freopen("ssm.in","r",stdin),
^
user.cpp:52:3: warning: unused variable ‘g’ [-Wunused-variable]
*g=freopen("ssm.out","w",stdout);
^
user.cpp:54:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:56:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 5 |
2 | 0ms | 268kb | Incorect | 0 |
3 | 0ms | 272kb | Incorect | 0 |
4 | 0ms | 264kb | Incorect | 0 |
5 | 0ms | 292kb | OK | 5 |
6 | 0ms | 304kb | OK | 5 |
7 | 4ms | 352kb | OK | 5 |
8 | 8ms | 388kb | OK | 5 |
9 | 32ms | 660kb | OK | 5 |
10 | 72ms | 1048kb | Incorect | 0 |
11 | 140ms | 1828kb | Incorect | 0 |
12 | 216ms | 2608kb | OK | 5 |
13 | 284ms | 3396kb | OK | 5 |
14 | 352ms | 4172kb | OK | 5 |
15 | Depăşit | 19768kb | Time limit exceeded. | 0 |
16 | Depăşit | 21724kb | Time limit exceeded. | 0 |
17 | Depăşit | 21724kb | Time limit exceeded. | 0 |
18 | Depăşit | 23672kb | Time limit exceeded. | 0 |
19 | Depăşit | 23672kb | Time limit exceeded. | 0 |
20 | Depăşit | 23672kb | Time limit exceeded. | 0 |
Punctaj total | 45 |