Pagini recente » Borderou de evaluare (job #1858236) | Borderou de evaluare (job #3131664) | Borderou de evaluare (job #2295415) | Borderou de evaluare (job #1247567) | Borderou de evaluare (job #2096479)
Borderou de evaluare (job #2096479)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if((c1 = v[p] % 10) != (c2 = v[n[i]] % 10))
^
user.cpp:22:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if((c1 = v[p] % 10) != (c2 = v[n[i]] % 10))
^
user.cpp:26:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if((l1 = v[p] / 10) != (l2 = v[n[i]] / 10))
^
user.cpp:26:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if((l1 = v[p] / 10) != (l2 = v[n[i]] / 10))
^
user.cpp:12:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("telefon.in", "r", stdin);
^
user.cpp:13:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("telefon.out", "w", stdout);
^
user.cpp:20:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%s", n), n[strlen(n)] = '#';;)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 424kb | Raspuns corect | 10 |
2 | 0ms | 428kb | Raspuns corect | 10 |
3 | 0ms | 428kb | Raspuns corect | 10 |
4 | 0ms | 424kb | Raspuns corect | 10 |
5 | 0ms | 432kb | Raspuns corect | 10 |
6 | 0ms | 424kb | Raspuns corect | 10 |
7 | 0ms | 432kb | Raspuns corect | 10 |
8 | 0ms | 428kb | Raspuns corect | 10 |
9 | 0ms | 428kb | Raspuns corect | 10 |
10 | 0ms | 428kb | Raspuns corect | 10 |
Punctaj total | 100 |