Borderou de evaluare (job #2814395)

Utilizator petrescu_bogdanBogdan Petrescu petrescu_bogdan Data 8 decembrie 2021 00:07:13
Problema Leduri Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 90

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:37:16: warning: '~' on an expression of type 'bool' [-Wbool-operation] 37 | v[i]=~v[i]+2; | ~~~^ main.cpp:37:16: note: did you mean to use logical not ('!')? main.cpp:38:20: warning: '~' on an expression of type 'bool' [-Wbool-operation] 38 | v[i+1]=~v[i+1]+2; | ~~~~~^ main.cpp:38:20: note: did you mean to use logical not ('!')? main.cpp:45:16: warning: '~' on an expression of type 'bool' [-Wbool-operation] 45 | v[i]=~v[i]+2; | ~~~^ main.cpp:45:16: note: did you mean to use logical not ('!')? main.cpp:46:20: warning: '~' on an expression of type 'bool' [-Wbool-operation] 46 | v[i+1]=~v[i+1]+2; | ~~~~~^ main.cpp:46:20: note: did you mean to use logical not ('!')?
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOK10
22ms184kbOK10
32ms184kbOK10
42ms184kbOK10
52ms184kbOK10
66ms200kbOK10
72ms184kbOK10
86ms299kbOK10
92ms184kbIncorect0
1045ms569kbOK10
Punctaj total90

Ceva nu functioneaza?