Borderou de evaluare (job #1407309)

Utilizator galbenugalbenu dorin galbenu Data 29 martie 2015 18:30:19
Problema Secv10 Status done
Runda ONIS 2015, Runda 2 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘bool matches(int, int)’: user.cpp:16:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if( (maxlen-poz) >= (strlen(dr)) ) ^ user.cpp:18:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<strlen(dr);i++) ^ user.cpp: In function ‘void show_v()’: user.cpp:29:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<strlen(s);i++) ^ user.cpp: In function ‘void read()’: user.cpp:65:30: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%ld\n",suma); ^ user.cpp:38:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&t); ^ user.cpp:45:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%s",s); ^ user.cpp:46:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%s",st); ^ user.cpp:47:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%s",dr); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit924kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?