Borderou de evaluare (job #1487791)

Utilizator andru47Stefanescu Andru andru47 Data 17 septembrie 2015 14:15:12
Problema Hercule Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d\n",&k); ^ user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hercule.in","r",stdin); ^ user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hercule.out","w",stdout); ^ user.cpp:10:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld\n",&n); ^ user.cpp:15:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit268kbTime limit exceeded.0
2Depăşit264kbTime limit exceeded.0
3Depăşit264kbTime limit exceeded.0
4Depăşit268kbTime limit exceeded.0
5Depăşit272kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?