Borderou de evaluare (job #2635735)

Utilizator tryharderulbrebenel mihnea stefan tryharderul Data 15 iulie 2020 14:11:14
Problema Mutari Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:35:32: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] printf("%ld\n",sol[i]-1); ^ main.cpp:15:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("mutari.in","r",stdin); ^ main.cpp:16:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("mutari.out","w",stdout); ^ main.cpp:18:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ main.cpp:21:26: 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
133ms786kbRaspuns gresit0
235ms917kbRaspuns gresit0
340ms1048kbRaspuns gresit0
447ms1179kbRaspuns gresit0
59ms262kbRaspuns corect10
675ms1703kbRaspuns gresit0
780ms1835kbRaspuns gresit0
834ms917kbKilled by Signal 110
943ms917kbKilled by Signal 110
1042ms917kbKilled by Signal 110
Punctaj total10

Ceva nu functioneaza?