Borderou de evaluare (job #2148191)

Utilizator andrei20003Ionescu Andrei andrei20003 Data 1 martie 2018 16:25:34
Problema Numar3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("numar3.in","r",stdin); ^ user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("numar3.out","w",stdout); ^ user.cpp:13:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:16:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &v[i]); ^ user.cpp:23:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c),printf("%c", c); ^ user.cpp:25:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &v[i]); ^ user.cpp:28:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("numar3.in","r",stdin); ^ user.cpp:29:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:31:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1500kbOK10
20ms1500kbOK10
30ms1500kbOK10
40ms1428kbWall time limit exceeded.0
50ms1432kbWall time limit exceeded.0
6412ms1432kbKilled by signal 11(SIGSEGV).0
7Depăşit1436kbTime limit exceeded.0
8Depăşit1432kbTime limit exceeded.0
9Depăşit1432kbTime limit exceeded.0
10Depăşit1432kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?