Borderou de evaluare (job #2088550)

Utilizator isav_costinVlad Costin Andrei isav_costin Data 15 decembrie 2017 14:44:44
Problema Beep Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 100

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
10ms252kbOK10100
20ms240kbOK10
30ms252kbOK10
40ms244kbOK10
50ms248kbOK10
60ms248kbOK10
70ms252kbOK10
80ms248kbOK10
90ms244kbOK10
100ms248kbOK10
Punctaj total100

Ceva nu functioneaza?