Borderou de evaluare (job #1288292)

Utilizator serban_ioan97Ciofu Serban serban_ioan97 Data 8 decembrie 2014 18:54:38
Problema Autobuze Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:44:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &v[i]); ^ user.cpp:39:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("autobuze.in", "rt", stdin); ^ user.cpp:40:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("autobuze.out", "wt", stdout); ^ user.cpp:42:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:44:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms920kbOK10
20ms916kbOK10
3156ms912kbKilled by signal 11(SIGSEGV).0
424ms956kbKilled by signal 11(SIGSEGV).0
524ms1372kbKilled by signal 6(SIGABRT).0
6480ms1788kbKilled by signal 6(SIGABRT).0
7256ms2104kbKilled by signal 6(SIGABRT).0
8216ms2868kbKilled by signal 6(SIGABRT).0
9Depăşit1780kbTime limit exceeded.0
10Depăşit1564kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?