Borderou de evaluare (job #1608973)

Utilizator algebristulFilip Berila algebristul Data 22 februarie 2016 14:54:44
Problema Trans Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘long long int solve(int, int)’: user.cpp:32:21: warning: unused variable ‘j’ [-Wunused-variable] for (int i = 1, j = 0; i <= n; i++) { ^ user.cpp:53:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(stderr, "%d ", dp[i]); ^ user.cpp: In function ‘int main()’: user.cpp:61:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("trans.in", "r", stdin); ^ user.cpp:62:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("trans.out", "w", stdout); ^ user.cpp:64:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:67:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &c[i], &s[i]); ^ user.cpp:72:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &q); ^ user.cpp:75:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &k, &t); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms308kbOK10
24ms312kbOK10
3Depăşit472kbTime limit exceeded.0
4Depăşit796kbTime limit exceeded.0
5Depăşit648kbTime limit exceeded.0
6Depăşit840kbTime limit exceeded.0
7Depăşit752kbTime limit exceeded.0
8Depăşit784kbTime limit exceeded.0
9Depăşit812kbTime limit exceeded.0
10Depăşit800kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?