Borderou de evaluare (job #1838051)

Utilizator LucianTLucian Trepteanu LucianT Data 30 decembrie 2016 21:57:05
Problema PetSoft Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int)’: user.cpp:30:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=i+1;j<sons.size();j++) ^ user.cpp:39:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<sons.size();i++) ^ user.cpp:40:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0;j<sons.size();j++) ^ user.cpp:42:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<sons.size();i++) ^ user.cpp:45:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=i+1;j<sons.size();j++) ^ user.cpp: In function ‘int main()’: user.cpp:59: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:60: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:61:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:64:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] v[x].push_back(i); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms480kbCool!10
20ms824kbRaspuns gresit0
34ms1428kbRaspuns gresit0
44ms2408kbRaspuns gresit0
58ms2308kbRaspuns gresit0
68ms2176kbRaspuns gresit0
712ms3204kbRaspuns gresit0
88ms2424kbRaspuns gresit0
912ms3120kbRaspuns gresit0
1012ms2720kbRaspuns gresit0
Punctaj total10

Ceva nu functioneaza?