Borderou de evaluare (job #2177300)

Utilizator Laura_CorneiLaura Maria Cornei Laura_Cornei Data 18 martie 2018 13:57:18
Problema Greutati Status done
Runda Algoritmiada 2018 Runda PreONI Compilator cpp | Vezi sursa
Scor 25

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:29:51: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f1, "%I64d%d", &v[i].p, &v[i].f); ^ user.cpp:47:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(f2, "%I64d", dif); ^ user.cpp:23:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1, "%d%d", &n, &pmax); ^ user.cpp:29:52: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1, "%I64d%d", &v[i].p, &v[i].f); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
✓10ms1416kbOK!00
✓20ms1484kbOK!00
✗30ms1412kbOK!55
✗40ms1432kbOK!55
✗50ms1412kbOK!55
✗60ms1440kbOK!55
✗70ms1424kbOK!55
✗80ms1104kbKilled by signal 11(SIGSEGV).00
✗90ms1120kbKilled by signal 11(SIGSEGV).00
✗100ms1228kbKilled by signal 11(SIGSEGV).00
✗110ms1220kbKilled by signal 11(SIGSEGV).00
✗120ms1220kbKilled by signal 11(SIGSEGV).00
✗130ms1228kbKilled by signal 11(SIGSEGV).00
✗140ms1216kbKilled by signal 11(SIGSEGV).00
✗150ms1264kbKilled by signal 11(SIGSEGV).00
✗160ms1240kbKilled by signal 11(SIGSEGV).00
✗170ms1116kbKilled by signal 11(SIGSEGV).00
✗180ms1164kbKilled by signal 11(SIGSEGV).00
✗190ms1268kbKilled by signal 11(SIGSEGV).00
✗200ms1164kbKilled by signal 11(SIGSEGV).0
✗210ms1176kbKilled by signal 11(SIGSEGV).0
✗220ms1168kbKilled by signal 11(SIGSEGV).0
Punctaj total25

Ceva nu functioneaza?