Borderou de evaluare (job #1356145)

Utilizator Juve45UAIC Alexandru Ionita Juve45 Data 23 februarie 2015 11:11:37
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:26:19: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%i", &n); ^ user.cpp:30: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:30:30: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:52:18: warning: statement has no effect [-Wunused-value] X==1; ^ user.cpp:21: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:22: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:26:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i", &n); ^ user.cpp:30: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
10ms448kbOk!10
2Depăşit20756kbTime limit exceeded.0
34ms700kbWrong answer!0
4Depăşit21268kbTime limit exceeded.0
54ms704kbWrong answer!0
612ms1048kbWrong answer!0
7Depăşit20756kbTime limit exceeded.0
8292ms8216kbWrong answer!0
9Depăşit20764kbTime limit exceeded.0
10Depăşit20916kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?