Borderou de evaluare (job #1508123)

Utilizator binicBinica Nicolae binic Data 22 octombrie 2015 12:22:23
Problema Hacker3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:10:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=] scanf("%d %d",a[i],b[i]); ^ user.cpp:10:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int’ [-Wformat=] user.cpp:6:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hacker3.in","r",stdin); ^ user.cpp:7:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hacker3.out","w",stdout); ^ user.cpp:8:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:10:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",a[i],b[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms232kbKilled by signal 11(SIGSEGV).00
20ms236kbKilled by signal 11(SIGSEGV).00
30ms236kbKilled by signal 11(SIGSEGV).00
40ms232kbKilled by signal 11(SIGSEGV).00
50ms240kbKilled by signal 11(SIGSEGV).00
60ms240kbKilled by signal 11(SIGSEGV).00
70ms236kbKilled by signal 11(SIGSEGV).00
80ms236kbKilled by signal 11(SIGSEGV).00
90ms232kbKilled by signal 11(SIGSEGV).00
100ms236kbKilled by signal 11(SIGSEGV).0
110ms236kbKilled by signal 11(SIGSEGV).0
120ms240kbKilled by signal 11(SIGSEGV).0
130ms236kbKilled by signal 11(SIGSEGV).0
140ms232kbKilled by signal 11(SIGSEGV).0
150ms236kbKilled by signal 11(SIGSEGV).00
160ms236kbKilled by signal 11(SIGSEGV).0
170ms232kbKilled by signal 11(SIGSEGV).0
180ms240kbKilled by signal 11(SIGSEGV).0
190ms232kbKilled by signal 11(SIGSEGV).0
200ms232kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?