Borderou de evaluare (job #1919642)

Utilizator dago28Stoican Dragos dago28 Data 9 martie 2017 20:21:05
Problema Timp Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d %d",&n,&dr); ^ user.cpp:17:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:35:17: warning: unused variable ‘aux’ [-Wunused-variable] int aux=st; ^ user.cpp:15:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("timp.in","r",stdin); ^ user.cpp:16:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("timp.out","w",stdout); ^ user.cpp:17:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&dr); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms444kbOK!!!10
20ms812kbKilled by signal 11(SIGSEGV).0
30ms808kbKilled by signal 11(SIGSEGV).0
40ms816kbKilled by signal 11(SIGSEGV).0
50ms812kbKilled by signal 11(SIGSEGV).0
60ms812kbKilled by signal 11(SIGSEGV).0
70ms812kbKilled by signal 11(SIGSEGV).0
80ms812kbKilled by signal 11(SIGSEGV).0
90ms808kbKilled by signal 11(SIGSEGV).0
100ms808kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?