Pagini recente »
Borderou de evaluare (job #105063)
|
Borderou de evaluare (job #15145)
|
Borderou de evaluare (job #126600)
|
Borderou de evaluare (job #107917)
|
Borderou de evaluare (job #690637)
Borderou de evaluare (job #690637)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:32:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare]
32 | for(int i = 0 ; i < v.size()-1 ; ++i){
| ~~^~~~~~~~~~~~
main.cpp:10:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | freopen("placa.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:11:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | freopen("placa.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:40:33: warning: 'l' may be used uninitialized in this function [-Wmaybe-uninitialized]
40 | cout << minh << '\n' << r+1-l;
| ^
main.cpp:40:30: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
40 | cout << minh << '\n' << r+1-l;
| ~^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
241 kb
|
OK
|
10
|
3
|
14 ms
|
512 kb
|
OK
|
10
|
4
|
1 ms
|
241 kb
|
OK
|
10
|
5
|
68 ms
|
1425 kb
|
OK
|
10
|
6
|
70 ms
|
1421 kb
|
OK
|
10
|
7
|
58 ms
|
1294 kb
|
OK
|
10
|
8
|
43 ms
|
774 kb
|
OK
|
10
|
9
|
62 ms
|
638 kb
|
OK
|
10
|
10
|
47 ms
|
774 kb
|
OK
|
10
|
Punctaj total
|
100
|