Borderou de evaluare (job #1356267)

Utilizator Juve45UAIC Alexandru Ionita Juve45 Data 23 februarie 2015 12:23:34
Problema Trapez Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:33:19: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%i", &n); ^ user.cpp:37:30: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%i %i", &a, &b); ^ user.cpp:37:30: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:28:37: 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); ^ user.cpp:29:39: 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); ^ user.cpp:33:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i", &n); ^ user.cpp:37:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i %i", &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms444kbOk!10
2476ms8660kbWrong answer!0
30ms560kbWrong answer!0
4368ms8660kbWrong answer!0
50ms568kbWrong answer!0
64ms784kbWrong answer!0
7492ms8660kbWrong answer!0
896ms2368kbWrong answer!0
9396ms8664kbWrong answer!0
10364ms8664kbWrong answer!0
Punctaj total10

Ceva nu functioneaza?