Borderou de evaluare (job #1508125)

Utilizator binicBinica Nicolae binic Data 22 octombrie 2015 12:25:35
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:11: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:11:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int’ [-Wformat=] user.cpp:7: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:8: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:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:11: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
10ms236kbKilled by signal 11(SIGSEGV).00
20ms232kbKilled by signal 11(SIGSEGV).00
30ms236kbKilled by signal 11(SIGSEGV).00
40ms236kbKilled by signal 11(SIGSEGV).00
50ms232kbKilled by signal 11(SIGSEGV).00
60ms232kbKilled by signal 11(SIGSEGV).00
70ms236kbKilled by signal 11(SIGSEGV).00
80ms232kbKilled by signal 11(SIGSEGV).00
90ms236kbKilled by signal 11(SIGSEGV).00
100ms240kbKilled by signal 11(SIGSEGV).0
110ms232kbKilled by signal 11(SIGSEGV).0
120ms236kbKilled by signal 11(SIGSEGV).0
130ms240kbKilled by signal 11(SIGSEGV).0
140ms236kbKilled by signal 11(SIGSEGV).0
150ms232kbKilled by signal 11(SIGSEGV).00
160ms240kbKilled by signal 11(SIGSEGV).0
170ms236kbKilled by signal 11(SIGSEGV).0
180ms240kbKilled by signal 11(SIGSEGV).0
190ms232kbKilled by signal 11(SIGSEGV).0
200ms240kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?