Pagini recente » Borderou de evaluare (job #2584262) | Borderou de evaluare (job #2970375) | Borderou de evaluare (job #3229736) | Borderou de evaluare (job #3226577) | Borderou de evaluare (job #1407291)
Borderou de evaluare (job #1407291)
Raport evaluator
Compilare:
user.cpp: In function ‘bool matches(int, int)’:
user.cpp:15:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if( (maxlen-poz) >= (strlen(dr)) )
^
user.cpp:17: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:28: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:59:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<strlen(s);i++)
^
user.cpp:63: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:37: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:44: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:45: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:46: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 |
1 | Depăşit | 924kb | Time limit exceeded. | 0 |
Punctaj total | 0 |