Borderou de evaluare (job #1767870)

Utilizator giotoPopescu Ioan gioto Data 29 septembrie 2016 20:43:22
Problema ExpectedPos Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:32:19: warning: statement has no effect [-Wunused-value] for(i1;i1<=r;++i1) ^ user.cpp:37:15: warning: statement has no effect [-Wunused-value] for(i2;i2<=l;++i2) ^ user.cpp:10:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("expectedpos.in", "r", stdin); ^ user.cpp:11:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("expectedpos.out", "w", stdout); ^ user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &k); ^ user.cpp:14:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &r); ^ user.cpp:15:32: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(s,NMAX*2+1,stdin); ^ user.cpp:40:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] }scanf("%d", &m); ^ user.cpp:42:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1068kbOK10
20ms1068kbOK10
3116ms1072kbOK10
4Depăşit1088kbTime limit exceeded.0
596ms1092kbOK10
6Depăşit1096kbTime limit exceeded.0
7Depăşit1112kbTime limit exceeded.0
84ms1516kbKilled by signal 11(SIGSEGV).0
94ms1628kbKilled by signal 11(SIGSEGV).0
104ms1624kbKilled by signal 11(SIGSEGV).0
Punctaj total40

Ceva nu functioneaza?