Pagini recente » Borderou de evaluare (job #1187946) | Borderou de evaluare (job #2893896) | Borderou de evaluare (job #1781113) | Clasamentul arhivei educationale | Borderou de evaluare (job #1844761)
Borderou de evaluare (job #1844761)
Raport evaluator
Compilare:
user.cpp: In function ‘void cpy_(char*, char*)’:
user.cpp:19:20: warning: NULL used in arithmetic [-Wpointer-arith]
for( i=0;b[i]!=NULL || a[i]!=NULL;i++ )
^
user.cpp:19:34: warning: NULL used in arithmetic [-Wpointer-arith]
for( i=0;b[i]!=NULL || a[i]!=NULL;i++ )
^
user.cpp: In function ‘int cmp_(char*, char*)’:
user.cpp:26:18: warning: NULL used in arithmetic [-Wpointer-arith]
while( a[i]!=NULL && b[i]!=NULL && a[i]==b[i] )
^
user.cpp:26:32: warning: NULL used in arithmetic [-Wpointer-arith]
while( a[i]!=NULL && b[i]!=NULL && a[i]==b[i] )
^
user.cpp:29:15: warning: NULL used in arithmetic [-Wpointer-arith]
if( a[i]==NULL && b[i]!=NULL )
^
user.cpp:29:29: warning: NULL used in arithmetic [-Wpointer-arith]
if( a[i]==NULL && b[i]!=NULL )
^
user.cpp:32:19: warning: NULL used in arithmetic [-Wpointer-arith]
if( a[i]!=NULL && b[i]==NULL )
^
user.cpp:32:33: warning: NULL used in arithmetic [-Wpointer-arith]
if( a[i]!=NULL && b[i]==NULL )
^
user.cpp:35:23: warning: NULL used in arithmetic [-Wpointer-arith]
if( a[i]==NULL && b[i]==NULL )
^
user.cpp:35:37: warning: NULL used in arithmetic [-Wpointer-arith]
if( a[i]==NULL && b[i]==NULL )
^
user.cpp: In function ‘void swap_(int, int)’:
user.cpp:48:9: warning: unused variable ‘k’ [-Wunused-variable]
int k;
^
user.cpp: In function ‘int main()’:
user.cpp:101:34: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[6]’ [-Wformat=]
scanf( "\n%s", &v[i].cuv );
^
user.cpp:86:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "zimeria.in", "r", stdin );
^
user.cpp:87:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "zimeria.out", "w", stdout );
^
user.cpp:92:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d%d\n", &p, &n );
^
user.cpp:101:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 5 |
2 | 0ms | 288kb | OK | 5 |
3 | 40ms | 572kb | OK | 5 |
4 | 88ms | 864kb | OK | 5 |
5 | 184ms | 1452kb | OK | 5 |
6 | Depăşit | 2592kb | Time limit exceeded. | 0 |
7 | 0ms | 264kb | OK | 5 |
8 | 0ms | 276kb | OK | 5 |
9 | 0ms | 280kb | OK | 5 |
10 | 4ms | 296kb | OK | 5 |
11 | 8ms | 332kb | OK | 5 |
12 | 16ms | 388kb | OK | 5 |
13 | 40ms | 504kb | OK | 5 |
14 | 84ms | 744kb | OK | 5 |
15 | 100ms | 852kb | OK | 5 |
16 | 160ms | 1152kb | OK | 5 |
17 | 216ms | 1444kb | OK | 5 |
18 | 276ms | 1736kb | OK | 5 |
19 | Depăşit | 2144kb | Time limit exceeded. | 0 |
20 | Depăşit | 2588kb | Time limit exceeded. | 0 |
Punctaj total | 85 |