Borderou de evaluare (job #2149438)

Utilizator cyg_ionutStan Ionut Gabriel cyg_ionut Data 2 martie 2018 17:15:40
Problema Numar3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:7:37: 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:8:39: 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:10:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:12:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%1d", &v[i]); } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1500kbIncorect0
20ms1496kbIncorect0
30ms1492kbOK10
444msDepăşitMemory limit exceeded.0
5112msDepăşitMemory limit exceeded.0
6116msDepăşitMemory limit exceeded.0
7116msDepăşitMemory limit exceeded.0
8116msDepăşitMemory limit exceeded.0
9116msDepăşitMemory limit exceeded.0
10116msDepăşitMemory limit exceeded.0
Punctaj total10

Ceva nu functioneaza?