Borderou de evaluare (job #1306322)

Utilizator SagunistuStrimbu Alexandru Sagunistu Data 30 decembrie 2014 20:52:15
Problema Scara 3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:25:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:28:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d",&k); ^ user.cpp:31:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d",&x,&c); ^ user.cpp:31:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:35:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d",&l); ^ user.cpp:38:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d",&x,&c); ^ user.cpp:38:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:24:13: warning: unused variable ‘j’ [-Wunused-variable] short k,j,x,c,l; ^ user.cpp:25:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:28:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&k); ^ user.cpp:31:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&x,&c); ^ user.cpp:35:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&l); ^ user.cpp:38:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&x,&c); ^ user.cpp: In function ‘int main()’: user.cpp:107:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("scara3.in","r",stdin); ^ user.cpp:108:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("scara3.out","w",stdout); ^ user.cpp: In function ‘int minim()’: user.cpp:68:12: warning: ‘pozmn’ may be used uninitialized in this function [-Wmaybe-uninitialized] return pozmn; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbIncorect0
20ms268kbIncorect0
30ms272kbIncorect0
40ms272kbIncorect0
50ms264kbIncorect0
60ms272kbIncorect0
70ms268kbIncorect0
80ms272kbIncorect0
90ms272kbIncorect0
100ms268kbIncorect0
110ms384kbKilled by signal 6(SIGABRT).0
120ms384kbKilled by signal 6(SIGABRT).0
130ms384kbKilled by signal 6(SIGABRT).0
140ms380kbKilled by signal 6(SIGABRT).0
150ms380kbKilled by signal 6(SIGABRT).0
160ms384kbKilled by signal 6(SIGABRT).0
170ms384kbKilled by signal 6(SIGABRT).0
180ms392kbKilled by signal 6(SIGABRT).0
190ms384kbKilled by signal 6(SIGABRT).0
200ms388kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?