Borderou de evaluare (job #1844745)

Utilizator isav_costinVlad Costin Andrei isav_costin Data 10 ianuarie 2017 13:51:46
Problema Zimeria Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 75

Raport evaluator

Compilare: user.cpp: In function ‘void cpy_(char*, char*)’: user.cpp:20:20: warning: NULL used in arithmetic [-Wpointer-arith] for( i=1;b[i]!=NULL || a[i]!=NULL;i++ ) ^ user.cpp:20:34: warning: NULL used in arithmetic [-Wpointer-arith] for( i=1;b[i]!=NULL || a[i]!=NULL;i++ ) ^ user.cpp: In function ‘int cmp_(char*, char*)’: user.cpp:27:18: warning: NULL used in arithmetic [-Wpointer-arith] while( a[i]!=NULL && b[i]!=NULL && a[i]==b[i] ) ^ user.cpp:27:32: warning: NULL used in arithmetic [-Wpointer-arith] while( a[i]!=NULL && b[i]!=NULL && a[i]==b[i] ) ^ user.cpp:30:15: warning: NULL used in arithmetic [-Wpointer-arith] if( a[i]==NULL && b[i]!=NULL ) ^ user.cpp:30:29: warning: NULL used in arithmetic [-Wpointer-arith] if( a[i]==NULL && b[i]!=NULL ) ^ user.cpp:33:19: warning: NULL used in arithmetic [-Wpointer-arith] if( a[i]!=NULL && b[i]==NULL ) ^ user.cpp:33:33: warning: NULL used in arithmetic [-Wpointer-arith] if( a[i]!=NULL && b[i]==NULL ) ^ user.cpp:36:23: warning: NULL used in arithmetic [-Wpointer-arith] if( a[i]==NULL && b[i]==NULL ) ^ user.cpp:36: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:49:9: warning: unused variable ‘k’ [-Wunused-variable] int k; ^ user.cpp: In function ‘void print_(int)’: user.cpp:88:27: warning: NULL used in arithmetic [-Wpointer-arith] for( i=1;v[k].cuv[i]!=NULL;i++ ) ^ user.cpp: In function ‘int main()’: user.cpp:96: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:97: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:102:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%d%d\n", &p, &n ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms284kbOK5
20ms292kbOK5
340ms872kbOK5
488ms1456kbOK5
5184ms2624kbOK5
648msDepăşitMemory limit exceeded.0
70ms276kbOK5
80ms288kbOK5
90ms300kbOK5
104ms332kbOK5
1112ms388kbOK5
1228ms508kbOK5
1356ms744kbOK5
14124ms1216kbOK5
15156ms1448kbOK5
16224ms2028kbOK5
17Depăşit2616kbTime limit exceeded.0
18Depăşit3204kbTime limit exceeded.0
19Depăşit4028kbTime limit exceeded.0
2048msDepăşitMemory limit exceeded.0
Punctaj total75

Ceva nu functioneaza?