Borderou de evaluare (job #2146558)

Utilizator GabiTulbaGabi Tulba-Lecu GabiTulba Data 28 februarie 2018 01:24:08
Problema Pamant Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 16

Raport evaluator

Compilare: user.cpp: In function ‘void DFS1(int)’: user.cpp:16:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<Graph[node].size();i++) ^ user.cpp: In function ‘void DFS2(int, int)’: user.cpp:23:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<Graph[node].size();i++) ^ user.cpp: In function ‘int main()’: user.cpp:49:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘std::vector<int>::size_type {aka long unsigned int}’ [-Wformat=] fprintf(OUT,"%d\n",o1.size()); ^ user.cpp:50:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<o1.size();i++) ^ user.cpp:52:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘std::vector<int>::size_type {aka long unsigned int}’ [-Wformat=] fprintf(OUT,"\n%d\n",o2.size()); ^ user.cpp:53:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<o2.size();i++) ^ user.cpp:36:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(IN,"%d%d",&N,&M); ^ user.cpp:39:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(IN,"%d%d",&X,&Y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1716kbRaspuns partial corect4
24ms1964kbRaspuns partial corect4
30ms1752kbRaspuns partial corect4
40ms1564kbKilled by signal 11(SIGSEGV).0
50ms1548kbKilled by signal 11(SIGSEGV).0
60ms1544kbKilled by signal 11(SIGSEGV).0
70ms1548kbKilled by signal 11(SIGSEGV).0
80ms1552kbKilled by signal 11(SIGSEGV).0
90ms1552kbKilled by signal 11(SIGSEGV).0
100ms1684kbRaspuns partial corect4
Punctaj total16

Ceva nu functioneaza?