Borderou de evaluare (job #1844761)

Utilizator isav_costinVlad Costin Andrei isav_costin Data 10 ianuarie 2017 14:03:42
Problema Zimeria Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 85

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
10ms280kbOK5
20ms288kbOK5
340ms572kbOK5
488ms864kbOK5
5184ms1452kbOK5
6Depăşit2592kbTime limit exceeded.0
70ms264kbOK5
80ms276kbOK5
90ms280kbOK5
104ms296kbOK5
118ms332kbOK5
1216ms388kbOK5
1340ms504kbOK5
1484ms744kbOK5
15100ms852kbOK5
16160ms1152kbOK5
17216ms1444kbOK5
18276ms1736kbOK5
19Depăşit2144kbTime limit exceeded.0
20Depăşit2588kbTime limit exceeded.0
Punctaj total85

Ceva nu functioneaza?