Pagini recente » Borderou de evaluare (job #1391009) | Borderou de evaluare (job #2923448) | Borderou de evaluare (job #1433215) | Borderou de evaluare (job #1683831) | Borderou de evaluare (job #2475263)
Borderou de evaluare (job #2475263)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:133:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n", ans.size());
^
main.cpp: In instantiation of 'bool longestIncreasingSubsequence<T>::getLIS(std::vector<_Tp>&) [with T = int]':
main.cpp:132:19: required from here
main.cpp:91:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=1;i<v.size();++i)
main.cpp:104:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<v.size();++i){
main.cpp:120:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.in","r",stdin);
^
main.cpp:121:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.out","w",stdout);
^
main.cpp:122:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:128:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
main.cpp: In member function 'bool longestIncreasingSubsequence<T>::getLIS(std::vector<_Tp>&) [with T = int]':
main.cpp:110:13: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized]
pos = lst[pos];
^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 3ms | 131kb | Corect! | 10 | 10 |
2 | 7ms | 524kb | Corect! | 10 | 10 |
3 | 3ms | 262kb | Corect! | 10 | 10 |
4 | 4ms | 262kb | Corect! | 10 | 10 |
5 | 5ms | 262kb | Corect! | 10 | 10 |
6 | 6ms | 393kb | Corect! | 10 | 10 |
7 | 7ms | 393kb | Corect! | 10 | 10 |
8 | 303ms | 13385kb | Time limit exceeded | 0 | 0 |
9 | 215ms | 13516kb | Corect! | 10 |
10 | 303ms | 13258kb | Time limit exceeded | 0 |
Punctaj total | 70 |