Pagini recente » Borderou de evaluare (job #1666143) | Borderou de evaluare (job #3243183) | Borderou de evaluare (job #932315) | Borderou de evaluare (job #2638182) | Borderou de evaluare (job #1532733)
Borderou de evaluare (job #1532733)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
app[c]++;
^
user.cpp:38:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (app[c] == 0) {
^
user.cpp:42:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (inQueue[c] && app[c] > 1) {
^
user.cpp:53:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (app[c] > 1) {
^
user.cpp:54:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
app[c]--;
^
user.cpp:61:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
app[c] = 0;
^
user.cpp:12:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calandrinon.in", "r", stdin);
^
user.cpp:13:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calandrinon.out", "w", stdout);
^
user.cpp:15:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int n; scanf("%d\n", &n);
^
user.cpp:23:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &c);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 268kb | OK | 5 |
✓ | 2 | 0ms | 268kb | OK | 5 |
✓ | 3 | 0ms | 252kb | Incorect | 0 |
✓ | 4 | 0ms | 264kb | Incorect | 0 |
✓ | 5 | 0ms | 268kb | Incorect | 0 |
✓ | 6 | 0ms | 272kb | Incorect | 0 |
✓ | 7 | 0ms | 268kb | Incorect | 0 |
✓ | 8 | 0ms | 268kb | Incorect | 0 |
✓ | 9 | 0ms | 268kb | Incorect | 0 |
✓ | 10 | 0ms | 268kb | Incorect | 0 |
✓ | 11 | 8ms | 352kb | Incorect | 0 |
✓ | 12 | 8ms | 348kb | Incorect | 0 |
✓ | 13 | 8ms | 364kb | Incorect | 0 |
✓ | 14 | 8ms | 368kb | Incorect | 0 |
✓ | 15 | 88ms | 1224kb | Incorect | 0 |
✓ | 16 | 96ms | 1220kb | Incorect | 0 |
✓ | 17 | 100ms | 1224kb | Incorect | 0 |
✓ | 18 | 84ms | 1224kb | Incorect | 0 |
✓ | 19 | 96ms | 1224kb | Incorect | 0 |
✓ | 20 | 96ms | 1224kb | Incorect | 0 |
Punctaj total | 10 |