Borderou de evaluare (job #2325324)

Utilizator akaprosAna Kapros akapros Data 22 ianuarie 2019 14:51:52
Problema Mojosort Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int Ans(int, int, int)': main.cpp:66:28: warning: format '%lf' expects argument of type 'double', but argument 2 has type 'long double' [-Wformat=] printf("%.7lf\n", prvSi); ^ main.cpp:33:39: warning: unused variable 'ans' [-Wunused-variable] int m = (n * (n - 1)) / 2, f = 1, ans = 0; ^~~ main.cpp:69:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ main.cpp: In function 'int main()': main.cpp:73:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ main.cpp:116:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &k); ^ main.cpp:120:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &p[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1100ms25034kbIncorect!0
288ms25034kbIncorect!0
399ms25034kbIncorect!0
497ms25034kbIncorect!0
5100ms25034kbIncorect!0
691ms25034kbIncorect!0
794ms25034kbIncorect!0
895ms25034kbIncorect!0
9100ms25034kbKilled by Signal 110
1093ms25034kbKilled by Signal 110
1192ms25034kbKilled by Signal 110
1296ms25034kbKilled by Signal 110
1394ms25034kbKilled by Signal 110
1495ms25034kbKilled by Signal 110
1592ms25034kbKilled by Signal 110
1699ms25034kbKilled by Signal 110
1797ms25034kbKilled by Signal 110
1894ms25034kbKilled by Signal 110
1996ms25034kbKilled by Signal 110
2094ms25034kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?