Borderou de evaluare (job #1985242)

Utilizator ionanghelinaIonut Anghelina ionanghelina Data 27 mai 2017 11:37:50
Problema Cele mai apropiate puncte din plan Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:54:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmap.in","r",stdin); ^ user.cpp:55:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmap.out","w",stdout); ^ user.cpp:56:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:59:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&v[i].first,&v[i].second); ^ user.cpp: In function ‘long long int DivImp(int, int)’: user.cpp:46:13: warning: ‘t’ may be used uninitialized in this function [-Wmaybe-uninitialized] for(int j=i+1;j<=t && (j-i)<=7;j++) ^ user.cpp:26:13: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized] int k,t; ^ user.cpp:46:13: warning: ‘t’ may be used uninitialized in this function [-Wmaybe-uninitialized] for(int j=i+1;j<=t && (j-i)<=7;j++) ^ user.cpp:26:13: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized] int k,t; ^ user.cpp:46:13: warning: ‘t’ may be used uninitialized in this function [-Wmaybe-uninitialized] for(int j=i+1;j<=t && (j-i)<=7;j++) ^ user.cpp:26:13: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized] int k,t; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit1328kbTime limit exceeded.0
2Depăşit1328kbTime limit exceeded.0
3Depăşit3632kbTime limit exceeded.0
4Depăşit3628kbTime limit exceeded.0
536ms9356kbKilled by signal 11(SIGSEGV).0
648ms9356kbKilled by signal 11(SIGSEGV).0
764ms9356kbKilled by signal 11(SIGSEGV).0
884ms9356kbKilled by signal 11(SIGSEGV).0
984ms9356kbKilled by signal 11(SIGSEGV).0
1084ms9356kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?