Pagini recente » Borderou de evaluare (job #2714717) | Borderou de evaluare (job #2368031) | Borderou de evaluare (job #821147) | Borderou de evaluare (job #1009151) | Borderou de evaluare (job #1565130)
Borderou de evaluare (job #1565130)
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 | 276kb | OK | 5 |
2 | 0ms | 272kb | Incorect | 0 |
3 | 0ms | 276kb | Incorect | 0 |
4 | 0ms | 276kb | OK | 5 |
5 | 0ms | 280kb | Incorect | 0 |
6 | 0ms | 276kb | Incorect | 0 |
7 | 0ms | 276kb | Incorect | 0 |
8 | 0ms | 280kb | Incorect | 0 |
9 | 0ms | 276kb | Incorect | 0 |
10 | 0ms | 284kb | Incorect | 0 |
11 | 12ms | 372kb | Incorect | 0 |
12 | 12ms | 376kb | Incorect | 0 |
13 | 12ms | 372kb | Incorect | 0 |
14 | 12ms | 372kb | Incorect | 0 |
15 | 124ms | 1252kb | Incorect | 0 |
16 | 124ms | 1252kb | Incorect | 0 |
17 | 124ms | 1252kb | Incorect | 0 |
18 | 128ms | 1252kb | Incorect | 0 |
19 | 124ms | 1248kb | Incorect | 0 |
20 | 112ms | 1252kb | OK | 5 |
Punctaj total | 15 |