Borderou de evaluare (job #1484134)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 10 septembrie 2015 15:17:13
Problema PetSoft Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int makeDp(int, bool)’: user.cpp:25:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < v.size(); ++i) ^ user.cpp:28:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int lenght = 1; lenght < v.size(); ++lenght) ^ user.cpp:29:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < v.size() - lenght; ++i) ^ user.cpp: In function ‘int main()’: user.cpp:38:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("petsoft.in","r",stdin); ^ user.cpp:39:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("petsoft.out","w",stdout); ^ user.cpp:41:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:45:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &dad); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms504kbCool!10
20ms856kbCool!10
34ms1464kbCool!10
44ms2444kbCool!10
58ms2356kbCool!10
68ms2208kbCool!10
712ms3248kbCool!10
88ms2460kbCool!10
912ms3160kbCool!10
108ms2760kbCool!10
Punctaj total100

Ceva nu functioneaza?