Borderou de evaluare (job #2121024)

Utilizator AntoniuFicAntoniu Ficard AntoniuFic Data 3 februarie 2018 11:16:04
Problema Numere8 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:27:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("numere8.in", "r", stdin); ^ user.cpp:28:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("numere8.out", "w", stdout); ^ user.cpp:30:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &a[i]); ^ user.cpp:46:37: warning: iteration 1023u invokes undefined behavior [-Waggressive-loop-optimizations] for(int j=i+1; c[i].s==c[j].s&&j<1024; j++) ^ user.cpp:44:19: note: containing loop for(int i=0; i<1024; i++) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms856kbNumar de perechi gresit !!!0
20ms864kbNumar de perechi gresit !!!0
30ms796kbNumar de perechi gresit !!!0
40ms804kbNumar de perechi gresit !!!0
50ms932kbNumar de perechi gresit !!!0
60ms796kbNumar de perechi gresit !!!0
70ms864kbNumar de perechi gresit !!!0
80ms816kbNumar de perechi gresit !!!0
90ms876kbNumar de perechi gresit !!!0
100ms804kbNumar de perechi gresit !!!0
Punctaj total0

Ceva nu functioneaza?