Borderou de evaluare (job #1920532)

Utilizator raulmuresanRaul Muresan raulmuresan Data 10 martie 2017 07:49:58
Problema Cezar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:20:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d %d",&n, &k); ^ user.cpp:20:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:23:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d %d",&a, &b); ^ user.cpp:23:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp: In function ‘void dfs(short int)’: user.cpp:36:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<v[nod].size();i ++) ^ user.cpp: In function ‘int main()’: user.cpp:58:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < v[nod].size(); i++){ ^ user.cpp: In function ‘void citire()’: user.cpp:20:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n, &k); ^ user.cpp:23:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&a, &b); ^ user.cpp: In function ‘int main()’: user.cpp:48:37: 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:49:39: 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); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms376kbKilled by signal 11(SIGSEGV).0
20ms380kbKilled by signal 11(SIGSEGV).0
30ms372kbKilled by signal 11(SIGSEGV).0
40ms380kbKilled by signal 11(SIGSEGV).0
50ms376kbKilled by signal 11(SIGSEGV).0
60ms380kbKilled by signal 11(SIGSEGV).0
70ms376kbKilled by signal 11(SIGSEGV).0
80ms372kbKilled by signal 11(SIGSEGV).0
90ms376kbKilled by signal 11(SIGSEGV).0
100ms372kbKilled by signal 11(SIGSEGV).0
110ms380kbKilled by signal 11(SIGSEGV).0
120ms376kbKilled by signal 11(SIGSEGV).0
130ms380kbKilled by signal 11(SIGSEGV).0
140ms376kbKilled by signal 11(SIGSEGV).0
150ms372kbKilled by signal 11(SIGSEGV).0
160ms376kbKilled by signal 11(SIGSEGV).0
170ms376kbKilled by signal 11(SIGSEGV).0
180ms376kbKilled by signal 11(SIGSEGV).0
190ms376kbKilled by signal 11(SIGSEGV).0
200ms380kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?