Pagini recente » Borderou de evaluare (job #1396793) | Borderou de evaluare (job #998956) | Borderou de evaluare (job #1432352) | Borderou de evaluare (job #878526) | Borderou de evaluare (job #2445552)
Borderou de evaluare (job #2445552)
Raport evaluator
Compilare:
main.cpp: In instantiation of 'void maximumSubsequenceSum<T, A>::computeMSS(A&, unsigned int&, unsigned int&) [with T = int; A = long long int]':
main.cpp:65:33: required from here
main.cpp:25:14: warning: unused variable 'inc' [-Wunused-variable]
uint inc = 0, ln = 1;
^~~
main.cpp: In function 'int main()':
main.cpp:54:32: 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:55:34: 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:56:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:60:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
main.cpp:66:38: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized]
cout<<ans<<' '<<start<<' '<<start+len-1<<'\n';
~~~~~^~~~
main.cpp:66:38: warning: 'start' may be used uninitialized in this function [-Wmaybe-uninitialized]
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 | OK | 5 |
5 | 4ms | 131kb | OK | 5 |
6 | 5ms | 262kb | OK | 5 |
7 | 9ms | 393kb | OK | 5 |
8 | 12ms | 393kb | OK | 5 |
9 | 35ms | 782kb | OK | 5 |
10 | 73ms | 1302kb | OK | 5 |
11 | 137ms | 2347kb | OK | 5 |
12 | 199ms | 4440kb | OK | 5 |
13 | 239ms | 4440kb | OK | 5 |
14 | 317ms | 4579kb | OK | 5 |
15 | 1534ms | 33935kb | OK | 5 |
16 | 1430ms | 33787kb | OK | 5 |
17 | 1420ms | 33787kb | OK | 5 |
18 | 1562ms | 33787kb | OK | 5 |
19 | 1602ms | 33787kb | Time limit exceeded | 0 |
20 | 1603ms | 33787kb | Time limit exceeded | 0 |
Punctaj total | 85 |