Borderou de evaluare (job #2106833)

Utilizator DjokValeriu Motroi Djok Data 16 ianuarie 2018 12:20:29
Problema Sobo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘std::string getNextString()’: user.cpp:14:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %s", c); ^ user.cpp: In function ‘int main()’: user.cpp:27:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sobo.in", "r", stdin); ^ user.cpp:28:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sobo.out", "w", stdout); ^ user.cpp:30:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &l); ^ user.cpp:32:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i = 0; i < l; ++i) scanf("%d", cost + i); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms584kbCool!10
20ms588kbUrat.. urat de tot: raspuns gresit0
30ms600kbUrat.. urat de tot: raspuns gresit0
452ms596kbUrat.. urat de tot: raspuns gresit0
54ms596kbUrat.. urat de tot: raspuns gresit0
612ms604kbUrat.. urat de tot: raspuns gresit0
78ms604kbUrat.. urat de tot: raspuns gresit0
812ms604kbUrat.. urat de tot: raspuns gresit0
952ms608kbUrat.. urat de tot: raspuns gresit0
1020ms608kbUrat.. urat de tot: raspuns gresit0
Punctaj total10

Ceva nu functioneaza?