Borderou de evaluare (job #2814386)

Utilizator petrescu_bogdanBogdan Petrescu petrescu_bogdan Data 7 decembrie 2021 23:52:00
Problema Leduri Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:25:16: warning: '~' on an expression of type 'bool' [-Wbool-operation] 25 | r[i]=~r[i]+2; | ~~~^ main.cpp:25:16: note: did you mean to use logical not ('!')? main.cpp:26:20: warning: '~' on an expression of type 'bool' [-Wbool-operation] 26 | r[i+1]=~r[i+1]+2; | ~~~~~^ main.cpp:26:20: note: did you mean to use logical not ('!')? main.cpp:35:16: warning: '~' on an expression of type 'bool' [-Wbool-operation] 35 | v[i]=~v[i]+2; | ~~~^ main.cpp:35:16: note: did you mean to use logical not ('!')? main.cpp:36:20: warning: '~' on an expression of type 'bool' [-Wbool-operation] 36 | v[i+1]=~v[i+1]+2; | ~~~~~^ main.cpp:36:20: note: did you mean to use logical not ('!')? main.cpp:43:20: warning: '~' on an expression of type 'bool' [-Wbool-operation] 43 | v[i]=~v[i]+2; | ~~~^ main.cpp:43:20: note: did you mean to use logical not ('!')? main.cpp:44:24: warning: '~' on an expression of type 'bool' [-Wbool-operation] 44 | v[i+1]=~v[i+1]+2; | ~~~~~^ main.cpp:44:24: note: did you mean to use logical not ('!')? main.cpp:51:20: warning: '~' on an expression of type 'bool' [-Wbool-operation] 51 | v[i]=~v[i]+2; | ~~~^ main.cpp:51:20: note: did you mean to use logical not ('!')? main.cpp:52:24: warning: '~' on an expression of type 'bool' [-Wbool-operation] 52 | v[i+1]=~v[i+1]+2; | ~~~~~^ main.cpp:52:24: note: did you mean to use logical not ('!')?
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOK10
22ms184kbIncorect0
32ms184kbIncorect0
42ms184kbIncorect0
52ms184kbIncorect0
66ms282kbIncorect0
72ms184kbIncorect0
86ms278kbOK10
92ms184kbIncorect0
1045ms573kbIncorect0
Punctaj total20

Ceva nu functioneaza?