Borderou de evaluare (job #1316760)

Utilizator ion2014ionescu ion ion2014 Data 14 ianuarie 2015 08:16:14
Problema Sarac Sau Rege Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:43:20: warning: unused variable ‘k’ [-Wunused-variable] long int i,x,y,k; ^ user.cpp:40:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("saracsaurege.in","r",stdin); ^ user.cpp:41:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("saracsaurege.out","w",stdout); ^ user.cpp:45:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld",&n,&m); ^ user.cpp:49:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&x); ^ user.cpp:55:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld",&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms252kbOK10
20ms264kbOK10
3Depăşit380kbTime limit exceeded.0
4956ms256kbOK10
5160ms760kbOK10
692ms768kbOK10
7Depăşit768kbTime limit exceeded.0
8Depăşit768kbTime limit exceeded.0
9Depăşit760kbTime limit exceeded.0
10Depăşit764kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?