Pagini recente » Borderou de evaluare (job #2580760) | Borderou de evaluare (job #1223469) | Borderou de evaluare (job #1321709) | Borderou de evaluare (job #2735321) | Borderou de evaluare (job #1532739)
Borderou de evaluare (job #1532739)
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:37:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (app[c] == 0) {
^
user.cpp:46:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (app[c] > 1) {
^
user.cpp:47:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
app[c]--;
^
user.cpp:54: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 | Incorect | 0 |
✓ | 3 | 0ms | 268kb | Incorect | 0 |
✓ | 4 | 0ms | 268kb | OK | 5 |
✓ | 5 | 0ms | 272kb | Incorect | 0 |
✓ | 6 | 0ms | 272kb | Incorect | 0 |
✓ | 7 | 0ms | 272kb | Incorect | 0 |
✓ | 8 | 0ms | 272kb | Incorect | 0 |
✓ | 9 | 0ms | 268kb | Incorect | 0 |
✓ | 10 | 0ms | 268kb | Incorect | 0 |
✓ | 11 | 8ms | 360kb | Incorect | 0 |
✓ | 12 | 8ms | 368kb | Incorect | 0 |
✓ | 13 | 8ms | 368kb | Incorect | 0 |
✓ | 14 | 8ms | 364kb | Incorect | 0 |
✓ | 15 | 96ms | 1244kb | Incorect | 0 |
✓ | 16 | 96ms | 1244kb | Incorect | 0 |
✓ | 17 | 100ms | 1240kb | Incorect | 0 |
✓ | 18 | 104ms | 1244kb | Incorect | 0 |
✓ | 19 | 104ms | 1236kb | Incorect | 0 |
✓ | 20 | 88ms | 1244kb | OK | 5 |
Punctaj total | 15 |