Borderou de evaluare (job #2422273)

Utilizator oogaboogauvuvwevwevwe onyetenyevwe ugwemubwem ossas oogabooga Data 18 mai 2019 12:12:47
Problema Trapez Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:30:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 1, t = 1; i < panta.size(); ++i) ~~^~~~~~~~~~~~~~ main.cpp:34:16: error: 't' was not declared in this scope cout<<r + (t * (t - 1)) / 2; ^ Non zero exit status: 1

Ceva nu functioneaza?