Borderou de evaluare (job #2013311)

Utilizator ionanghelinaIonut Anghelina ionanghelina Data 21 august 2017 01:55:11
Problema Naveplanare Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:56:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("naveplanare.in","r",stdin); ^ user.cpp:57:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("naveplanare.out","w",stdout); ^ user.cpp:58:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&k); ^ user.cpp:61: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 ‘void Solve()’: user.cpp:44:39: warning: iteration 2500u invokes undefined behavior [-Waggressive-loop-optimizations] dp[1][j][t]=dp[2][j][t]; ^ user.cpp:42:13: note: containing loop for(int t=0;t<=sup;t++) ^ user.cpp:31:51: warning: iteration 2500u invokes undefined behavior [-Waggressive-loop-optimizations] dp[2][j][t]=abs(t-a[i])+dp[1][j][t]; ^ user.cpp:29:13: note: containing loop for(int t=0;t<=sup;t++) ^ user.cpp:16:28: warning: iteration 2500u invokes undefined behavior [-Waggressive-loop-optimizations] dp[1][j][t]=inf; ^ user.cpp:15:9: note: containing loop for(int t=0;t<=2*maxN+2*maxX;t++) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms5392kbKilled by signal 11(SIGSEGV).0
212ms5396kbKilled by signal 11(SIGSEGV).0
312ms5392kbKilled by signal 11(SIGSEGV).0
412ms5396kbKilled by signal 11(SIGSEGV).0
512ms5404kbKilled by signal 11(SIGSEGV).0
612ms5400kbKilled by signal 11(SIGSEGV).0
712ms5404kbKilled by signal 11(SIGSEGV).0
812ms5396kbKilled by signal 11(SIGSEGV).0
912ms5400kbKilled by signal 11(SIGSEGV).0
1012ms5396kbKilled by signal 11(SIGSEGV).0
1112ms5396kbKilled by signal 11(SIGSEGV).0
1212ms5400kbKilled by signal 11(SIGSEGV).0
1312ms5400kbKilled by signal 11(SIGSEGV).0
1412ms5400kbKilled by signal 11(SIGSEGV).0
1512ms5396kbKilled by signal 11(SIGSEGV).0
1612ms5400kbKilled by signal 11(SIGSEGV).0
1712ms5400kbKilled by signal 11(SIGSEGV).0
1812ms5400kbKilled by signal 11(SIGSEGV).0
1912ms5404kbKilled by signal 11(SIGSEGV).0
2012ms5400kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?