Pagini recente » Borderou de evaluare (job #87255) | Borderou de evaluare (job #58962) | Borderou de evaluare (job #2428282) | Borderou de evaluare (job #220669) | Borderou de evaluare (job #2088550)
Borderou de evaluare (job #2088550)
Raport evaluator
Compilare:
user.cpp: In function ‘int comp(char*, char*)’:
user.cpp:13:18: warning: NULL used in arithmetic [-Wpointer-arith]
while( a[i]!=NULL && b[i]!=NULL && a[i]==b[i] )
^
user.cpp:13:32: warning: NULL used in arithmetic [-Wpointer-arith]
while( a[i]!=NULL && b[i]!=NULL && a[i]==b[i] )
^
user.cpp:16:15: warning: NULL used in arithmetic [-Wpointer-arith]
if( a[i]==NULL && b[i]==NULL )
^
user.cpp:16:29: warning: NULL used in arithmetic [-Wpointer-arith]
if( a[i]==NULL && b[i]==NULL )
^
user.cpp: In function ‘int main()’:
user.cpp:27:26: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1001]’ [-Wformat=]
scanf( "%s\n", &beep );
^
user.cpp:29:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1001]’ [-Wformat=]
while( scanf( "%s ", &s )!=EOF )
^
user.cpp:24:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "beep.in", "r", stdin );
^
user.cpp:25:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "beep.out", "w", stdout );
^
user.cpp:27:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%s\n", &beep );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 252kb | OK | 10 | 100 |
2 | 0ms | 240kb | OK | 10 |
3 | 0ms | 252kb | OK | 10 |
4 | 0ms | 244kb | OK | 10 |
5 | 0ms | 248kb | OK | 10 |
6 | 0ms | 248kb | OK | 10 |
7 | 0ms | 252kb | OK | 10 |
8 | 0ms | 248kb | OK | 10 |
9 | 0ms | 244kb | OK | 10 |
10 | 0ms | 248kb | OK | 10 |
Punctaj total | 100 |