Pagini recente » Borderou de evaluare (job #722981) | Borderou de evaluare (job #953391) | Borderou de evaluare (job #65243) | Borderou de evaluare (job #2105614) | Borderou de evaluare (job #1565230)
Borderou de evaluare (job #1565230)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
app[c]++;
^
user.cpp:33:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (used[c]) {
^
user.cpp:39:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
app[st.back()] > 0
^
user.cpp:41:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
used[st.back()] = false;
^
user.cpp:45:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
used[c] = true;
^
user.cpp:47:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
app[c]--;
^
user.cpp:28:9: warning: unused variable ‘len’ [-Wunused-variable]
int len = 0;
^
user.cpp:11: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:12: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:14: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:19:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
char c; scanf("%c", &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK | 5 |
2 | 0ms | 260kb | OK | 5 |
3 | 0ms | 260kb | Incorect | 0 |
4 | 0ms | 260kb | Incorect | 0 |
5 | 0ms | 260kb | OK | 5 |
6 | 0ms | 260kb | OK | 5 |
7 | 0ms | 260kb | OK | 5 |
8 | 0ms | 260kb | OK | 5 |
9 | 0ms | 268kb | OK | 5 |
10 | 0ms | 256kb | OK | 5 |
11 | 12ms | 356kb | Incorect | 0 |
12 | 8ms | 360kb | Incorect | 0 |
13 | 8ms | 356kb | OK | 5 |
14 | 8ms | 356kb | Incorect | 0 |
15 | 104ms | 1232kb | Incorect | 0 |
16 | 108ms | 1232kb | Incorect | 0 |
17 | 116ms | 1228kb | Incorect | 0 |
18 | 96ms | 1232kb | Incorect | 0 |
19 | 120ms | 1228kb | Incorect | 0 |
20 | 100ms | 1232kb | Incorect | 0 |
Punctaj total | 45 |