Borderou de evaluare (job #2019910)

Utilizator stefdascalescuStefan Dascalescu stefdascalescu Data 8 septembrie 2017 20:14:15
Problema Nunta Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:8:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:6:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nunta.in","r",stdin); ^ user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nunta.out","w",stdout); ^ user.cpp:8:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10msDepăşitMemory limit exceeded.0
20ms256kbOK10
30msDepăşitMemory limit exceeded.0
40ms256kbOK10
50msDepăşitMemory limit exceeded.0
60ms256kbOK10
70msDepăşitMemory limit exceeded.0
80ms256kbOK10
90ms256kbOK10
100msDepăşitMemory limit exceeded.0
Punctaj total50

Ceva nu functioneaza?