Borderou de evaluare (job #1897207)

Utilizator ionut98Bejenariu Ionut Daniel ionut98 Data 1 martie 2017 11:38:56
Problema Cezar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d %d",&n,&k);//numarul de noduri si numarul de muchii pe care vreau sa le elimin ^ user.cpp:13:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:16:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d %d",&x,&y); ^ user.cpp:16:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:33:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0;j<c[c[i][0]].size()&&ok;++j)//elimin fiecare muchie spre nodul aflat la extremitate ^ user.cpp:11:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cezar.in","r",stdin); ^ user.cpp:12:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cezar.out","w",stdout); ^ user.cpp:13:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&k);//numarul de noduri si numarul de muchii pe care vreau sa le elimin ^ user.cpp:16:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms496kbKilled by signal 6(SIGABRT).0
20ms488kbKilled by signal 6(SIGABRT).0
30ms492kbKilled by signal 6(SIGABRT).0
40ms492kbKilled by signal 6(SIGABRT).0
50ms496kbKilled by signal 6(SIGABRT).0
60ms492kbKilled by signal 6(SIGABRT).0
70ms492kbKilled by signal 6(SIGABRT).0
80ms492kbKilled by signal 6(SIGABRT).0
90ms488kbKilled by signal 6(SIGABRT).0
100ms496kbKilled by signal 6(SIGABRT).0
110ms488kbKilled by signal 6(SIGABRT).0
120ms488kbKilled by signal 6(SIGABRT).0
130ms492kbKilled by signal 6(SIGABRT).0
140ms492kbKilled by signal 6(SIGABRT).0
150ms496kbKilled by signal 6(SIGABRT).0
160ms496kbKilled by signal 6(SIGABRT).0
170ms492kbKilled by signal 6(SIGABRT).0
180ms488kbKilled by signal 6(SIGABRT).0
190ms492kbKilled by signal 6(SIGABRT).0
200ms492kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?