Pagini recente » Borderou de evaluare (job #2819808) | Borderou de evaluare (job #865612) | Borderou de evaluare (job #1256200) | Borderou de evaluare (job #66051) | Borderou de evaluare (job #1959129)
Borderou de evaluare (job #1959129)
Raport evaluator
Compilare:
user.cpp: In function ‘void find_n()’:
user.cpp:22:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
++r[v[0]], ++nr;
^
user.cpp:29:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if ( !r[v[j]] )
^
user.cpp:30:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
++r[v[j]], ++nr;
^
user.cpp:31:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else ++r[v[j]];
^
user.cpp:37:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
--r[v[i]];
^
user.cpp:38:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if ( !r[v[i]] )
^
user.cpp: In function ‘void read()’:
user.cpp:12:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ( "teatru.in", "r", stdin );
^
user.cpp:13:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ( "%d%d%c", &n, &c, &v[0] );
^
user.cpp:15:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ( "%c", &v[i] );
^
user.cpp: In function ‘void write()’:
user.cpp:47:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ( "teatru.out", "w", stdout );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 4ms | 320kb | OK | 10 |
4 | 4ms | 320kb | OK | 10 |
5 | 4ms | 320kb | OK | 10 |
6 | 4ms | 292kb | OK | 10 |
7 | 4ms | 300kb | OK | 10 |
8 | 4ms | 292kb | OK | 10 |
9 | 8ms | 316kb | OK | 10 |
10 | 8ms | 324kb | OK | 10 |
Punctaj total | 100 |