Borderou de evaluare (job #1767887)

Utilizator giotoPopescu Ioan gioto Data 29 septembrie 2016 20:54:57
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*4+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
10ms1064kbOK10
20ms1064kbOK10
3116ms1072kbOK10
4Depăşit1080kbTime limit exceeded.0
596ms1088kbOK10
6Depăşit1084kbTime limit exceeded.0
7Depăşit1108kbTime limit exceeded.0
8Depăşit1696kbTime limit exceeded.0
9Depăşit1724kbTime limit exceeded.0
104ms1812kbKilled by signal 11(SIGSEGV).0
Punctaj total40

Ceva nu functioneaza?