Borderou de evaluare (job #2325058)

Utilizator akaprosAna Kapros akapros Data 21 ianuarie 2019 21:54:09
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("%.6lf\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
180ms25034kbIncorect!0
295ms25034kbIncorect!0
393ms25034kbIncorect!0
4102ms25034kbIncorect!0
596ms25034kbIncorect!0
697ms25034kbIncorect!0
7101ms25034kbIncorect!0
897ms25034kbIncorect!0
9101ms25034kbKilled by Signal 110
10106ms25034kbKilled by Signal 110
1181ms25034kbKilled by Signal 110
1295ms25034kbKilled by Signal 110
1395ms25034kbKilled by Signal 110
14101ms25034kbKilled by Signal 110
15100ms25034kbKilled by Signal 110
1696ms25034kbKilled by Signal 110
1794ms25034kbKilled by Signal 110
1888ms25034kbKilled by Signal 110
1996ms25034kbKilled by Signal 110
20100ms25034kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?