Borderou de evaluare (job #2206840)

Utilizator DordeDorde Matei Dorde Data 23 mai 2018 22:13:56
Problema Euro2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:54:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen (in , "r" , stdin); ^ user.cpp:55:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen (out , "w" , stdout); ^ user.cpp:56:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d" , &n); ^ user.cpp:57:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("\n"); ^ user.cpp:58:36: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread (buff , 1 , BUFF , stdin); ^ user.cpp: In function ‘int getbuff()’: user.cpp:19:44: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread (buff , 1 , BUFF , stdin); ^ user.cpp:29:44: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread (buff , 1 , BUFF , stdin); ^ user.cpp: In function ‘int main()’: user.cpp:84:19: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] int j = poz + 1; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms796kbCorect5
20ms876kbRaspuns gresit0
30ms876kbRaspuns gresit0
40ms872kbCorect5
50ms800kbRaspuns gresit0
60ms880kbRaspuns gresit0
70ms856kbRaspuns gresit0
80ms752kbRaspuns gresit0
90ms756kbRaspuns gresit0
100ms876kbRaspuns gresit0
110ms876kbRaspuns gresit0
120ms808kbRaspuns gresit0
130ms804kbRaspuns gresit0
140ms820kbRaspuns gresit0
150ms856kbRaspuns gresit0
Punctaj total10

Ceva nu functioneaza?