Borderou de evaluare (job #1710655)

Utilizator pimao2004Lupu Stefan Dragos pimao2004 Data 29 mai 2016 16:06:21
Problema Consecutive Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘short int sum(int, int, int)’: user.cpp:15:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(s==nr) ^ user.cpp:17:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] else if(s<nr) return 2; ^ user.cpp: In function ‘int main()’: user.cpp:12:31: warning: ‘poz2’ may be used uninitialized in this function [-Wmaybe-uninitialized] s=(unsigned long long)poz2*(poz2+1)/2; ^ user.cpp:25:16: note: ‘poz2’ was declared here int i,poz1,poz2; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1200kbIncorect0
Punctaj total0

Ceva nu functioneaza?