Borderou de evaluare (job #1733431)

Utilizator mIllIbytemIllI byte mIllIbyte Data 24 iulie 2016 18:01:39
Problema Jocul Flip Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c:13:23: warning: return type defaults to ‘int’ [enabled by default] FILE*ifl__;FILE*ofl__;filread(char*ft,...){va_list ap;va_start ^ user.c:29:37: warning: return type defaults to ‘int’ [enabled by default] (ap);return 1;}va_end(ap);return 0;}filwrite(char*ft,...) ^ user.c: In function ‘filwrite’: user.c:32:49: warning: assignment makes pointer from integer without a cast [enabled by default] (ap,char*);fputs((char*)p,ofl__);break;case'd':p=va_arg ^ user.c: In function ‘sumup’: user.c:48:24: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] !!(nk&1<<j)^!!(mk&1<<i)+1));return sum;}main(){bothopen ^ user.c: At top level: user.c:48:41: warning: return type defaults to ‘int’ [enabled by default] !!(nk&1<<j)^!!(mk&1<<i)+1));return sum;}main(){bothopen ^ user.c: In function ‘filread’: user.c:16:1: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] ((char*)p,INT_MAX,ifl__);break;case'l':p=va_arg(ap,long ^ user.c:17:13: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] int*);fscanf(ifl__,"%ld\n",(long int*)p);break;case'L':p=va_arg ^ user.c:18:27: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] (ap,long long int*);fscanf(ifl__,"%lld\n",(long long ^ user.c:19:47: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] int*)p);break;case'd':p=va_arg(ap,int*);fscanf(ifl__,"%d\n", ^ user.c:21:42: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] (p=va_arg(ap,int*);i--;p=(int*)p+1)fscanf(ifl__,i?"%d ":"%d\n", ^ user.c:23:22: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] (long int*)p+1)fscanf(ifl__,i?"%ld ":"%ld\n",(long int*)p);else ^ user.c:25:16: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] int*)p+1)fscanf(ifl__,i?"%lld ":"%lld\n",(long long ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbRaspuns gresit0
228ms260kbRaspuns gresit0
332ms260kbRaspuns gresit0
412ms260kbRaspuns gresit0
5Depăşit236kbTime limit exceeded.0
6Depăşit244kbTime limit exceeded.0
7Depăşit236kbTime limit exceeded.0
8Depăşit236kbTime limit exceeded.0
9Depăşit236kbTime limit exceeded.0
10Depăşit244kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?