Borderou de evaluare (job #2012202)

Utilizator GabiTulbaGabi Tulba-Lecu GabiTulba Data 18 august 2017 12:01:23
Problema Cezar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘short int father(short int)’: user.cpp:15:36: 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:25:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(IN,"%d%d",&N,&K); ^ user.cpp:25:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:29:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(IN,"%d%d",&X,&Y); ^ user.cpp:29:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp: In function ‘short int father(short int)’: user.cpp:18:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:25:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(IN,"%d%d",&N,&K); ^ user.cpp:29: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
10ms528kbKilled by signal 11(SIGSEGV).0
20ms528kbKilled by signal 11(SIGSEGV).0
30ms528kbKilled by signal 11(SIGSEGV).0
40ms532kbKilled by signal 11(SIGSEGV).0
50ms528kbKilled by signal 11(SIGSEGV).0
60ms532kbKilled by signal 11(SIGSEGV).0
70ms532kbKilled by signal 11(SIGSEGV).0
80ms528kbKilled by signal 11(SIGSEGV).0
90ms528kbKilled by signal 11(SIGSEGV).0
100ms532kbKilled by signal 11(SIGSEGV).0
110ms532kbKilled by signal 11(SIGSEGV).0
120ms528kbKilled by signal 11(SIGSEGV).0
130ms528kbKilled by signal 11(SIGSEGV).0
140ms532kbKilled by signal 11(SIGSEGV).0
150ms528kbKilled by signal 11(SIGSEGV).0
160ms528kbKilled by signal 11(SIGSEGV).0
170ms528kbKilled by signal 11(SIGSEGV).0
180ms528kbKilled by signal 11(SIGSEGV).0
190ms524kbKilled by signal 11(SIGSEGV).0
200ms524kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?