Borderou de evaluare (job #1765900)

Utilizator GabiTulbaGabi Tulba-Lecu GabiTulba Data 27 septembrie 2016 09:30:50
Problema Descompuneri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 12

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:22:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d",&N,&K); ^ user.cpp:22:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:19:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("desc.in","r",stdin); ^ user.cpp:20:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("desc.out","w",stdout); ^ user.cpp:22:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&N,&K); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms308kbDescompunerea e gresita!4
24ms1540kbDescompunerea e gresita!4
30ms992kbDescompunerea e gresita!4
4Depăşit232kbTime limit exceeded.0
5Depăşit240kbTime limit exceeded.0
6Depăşit232kbTime limit exceeded.0
7Depăşit236kbTime limit exceeded.0
8Depăşit240kbTime limit exceeded.0
9Depăşit232kbTime limit exceeded.0
10Depăşit240kbTime limit exceeded.0
Punctaj total12

Ceva nu functioneaza?