Borderou de evaluare (job #1608975)

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

Raport evaluator

Compilare: user.cpp: In function ‘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: 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
10ms292kbOK10
20ms292kbOK10
34ms388kbOK10
420ms588kbOK10
592ms516kbOK10
6Depăşit652kbTime limit exceeded.0
7Depăşit576kbTime limit exceeded.0
8Depăşit596kbTime limit exceeded.0
9Depăşit624kbTime limit exceeded.0
10Depăşit596kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?