Borderou de evaluare (job #1919645)

Utilizator dago28Stoican Dragos dago28 Data 9 martie 2017 20:21:53
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
10ms448kbOK!!!10
248msDepăşitMemory limit exceeded.0
348msDepăşitMemory limit exceeded.0
448msDepăşitMemory limit exceeded.0
548msDepăşitMemory limit exceeded.0
648msDepăşitMemory limit exceeded.0
748msDepăşitMemory limit exceeded.0
848msDepăşitMemory limit exceeded.0
948msDepăşitMemory limit exceeded.0
1048msDepăşitMemory limit exceeded.0
Punctaj total10

Ceva nu functioneaza?