Borderou de evaluare (job #2635790)

Utilizator tryharderulbrebenel mihnea stefan tryharderul Data 15 iulie 2020 15:51:19
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:18:20: warning: format '%lli' expects argument of type 'long long int*', but argument 2 has type 'long int*' [-Wformat=] scanf("%lli",&n); ^ 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:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lli",&n); ^ main.cpp:21:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
131ms1179kbRaspuns gresit0
234ms1310kbRaspuns gresit0
341ms1572kbRaspuns gresit0
451ms1835kbRaspuns gresit0
59ms262kbRaspuns corect10
619ms1703kbKilled by Signal 110
727ms1703kbKilled by Signal 110
831ms1703kbKilled by Signal 110
951ms1703kbKilled by Signal 110
1038ms1703kbKilled by Signal 110
Punctaj total10

Ceva nu functioneaza?