Pagini recente » Borderou de evaluare (job #1138952) | Borderou de evaluare (job #2092009) | Borderou de evaluare (job #992083) | Borderou de evaluare (job #2270085) | Borderou de evaluare (job #1570862)
Borderou de evaluare (job #1570862)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:68:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( i = 0; i < strlen(v); ++i ){
^
user.cpp:70:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( adv[v[i]] == 0 ){
^
user.cpp:74:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
adv[v[i]]++;
^
user.cpp:78:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( i = 0; i < strlen(q); ++i )
^
user.cpp:79:54: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( 'a' <= q[i] && q[i] <= 'z' ) adv[q[i]] = 0;
^
user.cpp:57:15: warning: unused variable ‘j’ [-Wunused-variable]
int n, i, j, r, okk, varaibile;
^
user.cpp: In function ‘int f4(char*)’:
user.cpp:168:64: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( 'a' <= p[indi] && p[indi] <= 'z' ) r = alfabet[p[indi]];
^
user.cpp: In function ‘int main()’:
user.cpp:54:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("logic.in","r",stdin);
^
user.cpp:55:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("logic.out","w",stdout);
^
user.cpp:59:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:65:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",v);
^
user.cpp:66:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",q);
^
user.cpp: In function ‘int f4(char*)’:
user.cpp:155:9: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int r;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 268kb | OK | 10 |
4 | 0ms | 264kb | OK | 10 |
5 | 8ms | 268kb | OK | 10 |
6 | 0ms | 268kb | OK | 10 |
7 | 0ms | 268kb | OK | 10 |
8 | 0ms | 260kb | OK | 10 |
9 | 0ms | 264kb | OK | 10 |
10 | 0ms | 260kb | OK | 10 |
Punctaj total | 100 |