Borderou de evaluare (job #2020655)

Utilizator mouse_wirelessMouse Wireless mouse_wireless Data 11 septembrie 2017 11:51:04
Problema Cristale Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘char canMerge(std::string&, int, int)’: user.cpp:38:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (!isMagic[c1] || !isMagic[c2]) ^ user.cpp:38:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (!isMagic[c1] || !isMagic[c2]) ^ user.cpp:40:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] int msk = 7 & (~isMagic[c1]) & (~isMagic[c2]); ^ user.cpp:40:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] int msk = 7 & (~isMagic[c1]) & (~isMagic[c2]); ^ user.cpp: In function ‘int main()’: user.cpp:64:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] isMagic[magics[1 << i]] = (1 << i); ^ user.cpp:63:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %c", &magics[1 << i]); ^ user.cpp:67:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &T); ^ user.cpp:70:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%s", &P, buf); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit1536kbTime limit exceeded.0
2Depăşit1452kbTime limit exceeded.0
3Depăşit1544kbTime limit exceeded.0
4Depăşit1416kbTime limit exceeded.0
5Depăşit1400kbTime limit exceeded.0
6Depăşit1428kbTime limit exceeded.0
7Depăşit1412kbTime limit exceeded.0
8Depăşit1540kbTime limit exceeded.0
9Depăşit1440kbTime limit exceeded.0
10Depăşit1544kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?