Borderou de evaluare (job #1266212)

Utilizator alex72101Sfat Alexandru alex72101 Data 18 noiembrie 2014 14:52:28
Problema Energii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 5

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:15: warning: unused variable ‘sol’ [-Wunused-variable] int n,i,j,sol,g,g2,l; ^ user.cpp:12:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("energii.in", "r", stdin); ^ user.cpp:13:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("energii.out", "w", stdout); ^ user.cpp:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:16:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&g); ^ user.cpp:18:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&e[i],&c[i]); ^ user.cpp:28:13: warning: ‘g2’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (d[g2]<g) printf("-1"); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit252kbTime limit exceeded.0
2Depăşit260kbTime limit exceeded.0
3Depăşit252kbTime limit exceeded.0
4Depăşit256kbTime limit exceeded.0
5Depăşit256kbTime limit exceeded.0
6Depăşit256kbTime limit exceeded.0
716ms288kbOk!5
8Depăşit264kbTime limit exceeded.0
9Depăşit328kbTime limit exceeded.0
100ms240kbKilled by signal 11(SIGSEGV).0
110ms232kbKilled by signal 11(SIGSEGV).0
120ms236kbKilled by signal 11(SIGSEGV).0
130ms240kbKilled by signal 11(SIGSEGV).0
140ms232kbKilled by signal 11(SIGSEGV).0
150ms232kbKilled by signal 11(SIGSEGV).0
160ms240kbKilled by signal 11(SIGSEGV).0
170ms232kbKilled by signal 11(SIGSEGV).0
180ms240kbKilled by signal 11(SIGSEGV).0
190ms236kbKilled by signal 11(SIGSEGV).0
200ms232kbKilled by signal 11(SIGSEGV).0
Punctaj total5

Ceva nu functioneaza?