Borderou de evaluare (job #1825640)

Utilizator tgm000Tudor Mocioi tgm000 Data 9 decembrie 2016 15:36:13
Problema Rest Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void build(int, int, int, FILE*)’: user.cpp:7:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin,"%d",&aint[nod]); ^ user.cpp: In function ‘int main()’: user.cpp:60:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",query(1,1,n,x,y)); ^ user.cpp: In function ‘void build(int, int, int, FILE*)’: user.cpp:7:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&aint[nod]); ^ user.cpp: In function ‘int main()’: user.cpp:47:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rest.in","r",stdin); ^ user.cpp:48:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rest.out","w",stdout); ^ user.cpp:49:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&n,&b,&p); ^ user.cpp:54:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&m); ^ user.cpp:56:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&a,&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms264kbIncorect00
20ms268kbIncorect0
30ms288kbIncorect0
424ms604kbIncorect0
564ms968kbIncorect0
6332ms3104kbIncorect0
7332ms3104kbIncorect0
8Depăşit6316kbTime limit exceeded.0
9Depăşit6316kbTime limit exceeded.0
10Depăşit6316kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?