Pagini recente » Borderou de evaluare (job #1837338) | Borderou de evaluare (job #2720724) | Borderou de evaluare (job #1655427) | Borderou de evaluare (job #1395126) | Borderou de evaluare (job #2020655)
Borderou de evaluare (job #2020655)
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 |
| 1 | Depăşit | 1536kb | Time limit exceeded. | 0 |
| 2 | Depăşit | 1452kb | Time limit exceeded. | 0 |
| 3 | Depăşit | 1544kb | Time limit exceeded. | 0 |
| 4 | Depăşit | 1416kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 1400kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 1428kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 1412kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 1540kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 1440kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 1544kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |