Borderou de evaluare (job #1341693)

Utilizator smaraldaSmaranda Dinu smaralda Data 13 februarie 2015 00:11:16
Problema Teroristi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int codePair(char, char)’: user.cpp:19:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] return cpair[a][b]; ^ user.cpp:19:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] return cpair[a][b]; ^ user.cpp: In function ‘int main()’: user.cpp:61:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] cpair[a][b] = ++ n; ^ user.cpp:61:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] cpair[a][b] = ++ n; ^ user.cpp:53:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("teroristi.in", "r", stdin); ^ user.cpp:54:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("teroristi.out", "w", stdout); ^ user.cpp:63:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:64:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n", txt); ^ user.cpp:67:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c %c\n", &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms820kbOk!10
2Depăşit892kbTime limit exceeded.0
3Depăşit1248kbTime limit exceeded.0
4Depăşit1396kbTime limit exceeded.0
5Depăşit1392kbTime limit exceeded.0
6Depăşit1552kbTime limit exceeded.0
7Depăşit2792kbTime limit exceeded.0
8Depăşit4300kbTime limit exceeded.0
9Depăşit5296kbTime limit exceeded.0
10Depăşit6312kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?