Pagini recente »
Borderou de evaluare (job #664768)
|
Borderou de evaluare (job #128971)
|
Clasament un_concurs_pt_oricine
|
Borderou de evaluare (job #284671)
|
Borderou de evaluare (job #690623)
Borderou de evaluare (job #690623)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:37:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare]
37 | for(int i = 0; i < v.size()-1; i++) {
| ~~^~~~~~~~~~~~
main.cpp:13:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | freopen("placa.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:14:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | freopen("placa.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:46:30: warning: 'R' may be used uninitialized in this function [-Wmaybe-uninitialized]
46 | cout << ans << '\n' << (R-L+1);
| ~^~
main.cpp:46:30: warning: 'L' may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
241 kb
|
OK
|
10
|
2
|
1 ms
|
241 kb
|
OK
|
10
|
3
|
14 ms
|
507 kb
|
OK
|
10
|
4
|
1 ms
|
245 kb
|
OK
|
10
|
5
|
60 ms
|
1421 kb
|
OK
|
10
|
6
|
68 ms
|
1425 kb
|
OK
|
10
|
7
|
71 ms
|
1290 kb
|
OK
|
10
|
8
|
43 ms
|
765 kb
|
OK
|
10
|
9
|
55 ms
|
638 kb
|
OK
|
10
|
10
|
46 ms
|
770 kb
|
OK
|
10
|
Punctaj total
|
100
|