Borderou de evaluare (job #1588167)

Utilizator TimitocArdelean Andrei Timotei Timitoc Data 2 februarie 2016 20:55:30
Problema Atac Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void solve()’: user.cpp:53:18: warning: statement has no effect [-Wunused-value] for (step; 1<<step < dif; step++); ^ user.cpp:54:12: warning: statement has no effect [-Wunused-value] for (step; step >= 0; step--) ^ user.cpp:63:11: warning: statement has no effect [-Wunused-value] for (step; 1<<step < n; step++); ^ user.cpp:64:11: warning: statement has no effect [-Wunused-value] for (step; step >= 0; step--) ^ user.cpp: In function ‘void citire()’: user.cpp:16:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &n, &m, &p); ^ user.cpp:18:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &t[0][i], &cost[0][i]); ^ user.cpp:20:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d %d %d", &x, &y, &a, &b, &c, &d); ^ user.cpp: In function ‘int main()’: user.cpp:80:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("atac.in", "r", stdin); ^ user.cpp:81:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("atac.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit460kbTime limit exceeded.0
2Depăşit464kbTime limit exceeded.0
3132ms600kbai gresit la mustata :D dar tot teapa e..0
4132ms600kbai gresit la mustata :D dar tot teapa e..0
524ms4288kbKilled by signal 11(SIGSEGV).0
6Depăşit4284kbTime limit exceeded.0
784ms4284kbKilled by signal 11(SIGSEGV).0
828ms4292kbKilled by signal 11(SIGSEGV).0
948ms4400kbKilled by signal 11(SIGSEGV).0
10448ms4436kboho! ai bifat solutia ;)10
Punctaj total10

Ceva nu functioneaza?