Pagini recente »
OJI 2023 Clasa a VI-a - Antrenament - FFA v2.1
|
Borderou de evaluare (job #262197)
|
Borderou de evaluare (job #466929)
|
Borderou de evaluare (job #427823)
|
Borderou de evaluare (job #690640)
Borderou de evaluare (job #690640)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:27:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare]
27 | for(int i = 0 ; i < v.size()-1 ; ++i){
| ~~^~~~~~~~~~~~
main.cpp:7:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
7 | freopen("placa.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:8:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
8 | freopen("placa.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:35:30: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
35 | cout << minh << '\n' << r-l+1;
| ~^~
main.cpp:35:30: warning: 'l' may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
2 ms
|
114 kb
|
OK
|
10
|
2
|
1 ms
|
110 kb
|
OK
|
10
|
3
|
82 ms
|
376 kb
|
OK
|
10
|
4
|
1 ms
|
114 kb
|
OK
|
10
|
5
|
270 ms
|
1294 kb
|
OK
|
10
|
6
|
277 ms
|
1290 kb
|
OK
|
10
|
7
|
263 ms
|
1294 kb
|
OK
|
10
|
8
|
208 ms
|
770 kb
|
OK
|
10
|
9
|
267 ms
|
630 kb
|
OK
|
10
|
10
|
202 ms
|
770 kb
|
OK
|
10
|
Punctaj total
|
100
|