Borderou de evaluare (job #1316767)

Utilizator ion2014ionescu ion ion2014 Data 14 ianuarie 2015 08:30:10
Problema Sarac Sau Rege Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:43:20: warning: unused variable ‘k’ [-Wunused-variable] long int i,x,y,k; ^ user.cpp:40:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("saracsaurege.in","r",stdin); ^ user.cpp:41:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("saracsaurege.out","w",stdout); ^ user.cpp:45:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld",&n,&m); ^ user.cpp:49:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&x); ^ user.cpp:55:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld",&x,&y); ^ user.cpp:58:23: warning: ‘y1’ may be used uninitialized in this function [-Wmaybe-uninitialized] if( x!=x1 || y!=y1) mx=0, query(1,1,n,x,y); ^ user.cpp:58:13: warning: ‘x1’ may be used uninitialized in this function [-Wmaybe-uninitialized] if( x!=x1 || y!=y1) mx=0, query(1,1,n,x,y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbOK10
20ms260kbOK10
3Depăşit380kbTime limit exceeded.0
4964ms260kbOK10
5156ms764kbOK10
692ms764kbOK10
7Depăşit768kbTime limit exceeded.0
8Depăşit764kbTime limit exceeded.0
9Depăşit764kbTime limit exceeded.0
10Depăşit760kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?