Borderou de evaluare (job #2764247)

Utilizator DordeDorde Matei Dorde Data 20 iulie 2021 00:44:46
Problema Trapez Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:38:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("trapez.in" , "r" , stdin); ^ main.cpp:39:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("trapez.out" , "w" , stdout); ^ main.cpp:41:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d" , &n); ^ main.cpp:44:37: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%lld%lld" , &a , &b); ^ main.cpp:72:32: warning: 'lg' may be used uninitialized in this function [-Wmaybe-uninitialized] ans = ans + 1LL * lg * (lg - 1) / 2LL; ~~~~^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
173ms48103kbOk!10
2243ms48103kbOk!10
390ms48095kbWrong answer!0
4247ms48103kbWrong answer!0
589ms48103kbWrong answer!0
690ms48103kbWrong answer!0
7255ms48103kbWrong answer!0
8128ms48234kbWrong answer!0
9243ms48234kbWrong answer!0
10238ms48103kbWrong answer!0
Punctaj total20

Ceva nu functioneaza?