Borderou de evaluare (job #2956118)
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:81:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wformat=]
81 | fprintf(fout, "%d ", ans.size());
| ~^ ~~~~~~~~~~
| | |
| int std::vector<int>::size_type {aka long unsigned int}
| %ld
main.cpp:82:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
82 | for(int i = 0; i < ans.size(); i++)
| ~~^~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 146ms | 6234kb | Corect! | 100 |
Punctaj total | 100 |