Borderou de evaluare (job #1878059)

Utilizator medicinedoctoralexandru medicinedoctor Data 13 februarie 2017 20:58:48
Problema Cautare binara Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:18:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0; i<a.size(); cin >> a[i++]); ^ user.cpp: At global scope: user.cpp:21:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type] main() ^ user.cpp: In function ‘int main()’: user.cpp:33:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (x<a.size() && x>=0 && a[x-1]==y) cout << x << '\n'; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms428kbOK1010
20ms428kbOK1010
30ms436kbOK1010
44ms440kbOK1010
524ms476kbIncorect00
680ms520kbOK10
7120ms784kbOK1040
8124ms784kbOK10
9128ms784kbOK10
10128ms784kbOK10
Punctaj total80

Ceva nu functioneaza?